[oe-commits] org.oe.dev packages/gcc gcc-4.1.1: fix eabi issues on a bigendian toolchain:
dirk commit
openembedded-commits at lists.openembedded.org
Thu Mar 1 15:33:31 UTC 2007
packages/gcc gcc-4.1.1: fix eabi issues on a bigendian toolchain:
set SUBTARGET_EXTRA_LINK_SPEC to -m armelfb_linux_eabi in case of
bigendian
Author: dirk at openembedded.org
Branch: org.openembedded.dev
Revision: 18c7b509970e3f318f6ffeee30baa62be19f99c3
ViewMTN: http://monotone.openembedded.org/revision.psp?id=18c7b509970e3f318f6ffeee30baa62be19f99c3
Files:
1
packages/gcc/gcc-4.1.1/801-arm-bigendian-eabi.patch
packages/gcc/gcc-cross_4.1.1.bb
packages/gcc/gcc_4.1.1.bb
Diffs:
#
# mt diff -r00efa445dad45d76e00370693f2bf21e9cfb4815 -r18c7b509970e3f318f6ffeee30baa62be19f99c3
#
#
#
# add_file "packages/gcc/gcc-4.1.1/801-arm-bigendian-eabi.patch"
# content [9455ecffe81517322f538077a9976916cab94760]
#
# patch "packages/gcc/gcc-cross_4.1.1.bb"
# from [84256bf1791e67398796c1f60983544db89354a7]
# to [eab64bf94d0eeb29722db992ec4578628f55f671]
#
# patch "packages/gcc/gcc_4.1.1.bb"
# from [4f98317653b4d5fbfb0ce6b61ee126658ba14c5e]
# to [266029892225d6ca304f0076ffba45f281fdc8de]
#
============================================================
--- packages/gcc/gcc-4.1.1/801-arm-bigendian-eabi.patch 9455ecffe81517322f538077a9976916cab94760
+++ packages/gcc/gcc-4.1.1/801-arm-bigendian-eabi.patch 9455ecffe81517322f538077a9976916cab94760
@@ -0,0 +1,14 @@
+Index: gcc-4.1.1/gcc/config/arm/linux-eabi.h
+===================================================================
+--- gcc-4.1.1.orig/gcc/config/arm/linux-eabi.h 2007-02-20 14:51:33.416193250 +0100
++++ gcc-4.1.1/gcc/config/arm/linux-eabi.h 2007-02-20 14:52:11.622581000 +0100
+@@ -48,7 +48,8 @@
+ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
+
+ #undef SUBTARGET_EXTRA_LINK_SPEC
+-#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"
++#define SUBTARGET_EXTRA_LINK_SPEC \
++ " %{mbig-endian:-m armelfb_linux_eabi} %{mlittle-endian:-m armelf_linux_eabi} "
+
+ /* Use ld-linux.so.3 so that it will be possible to run "classic"
+ GNU/Linux binaries on an EABI system. */
============================================================
--- packages/gcc/gcc-cross_4.1.1.bb 84256bf1791e67398796c1f60983544db89354a7
+++ packages/gcc/gcc-cross_4.1.1.bb eab64bf94d0eeb29722db992ec4578628f55f671
@@ -5,7 +5,7 @@ FILESDIR = "${@os.path.dirname(bb.data.g
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r10"
+PR = "r11"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
============================================================
--- packages/gcc/gcc_4.1.1.bb 4f98317653b4d5fbfb0ce6b61ee126658ba14c5e
+++ packages/gcc/gcc_4.1.1.bb 266029892225d6ca304f0076ffba45f281fdc8de
@@ -1,4 +1,4 @@
-PR = "r9"
+PR = "r10"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
@@ -20,6 +20,7 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gc
file://602-sdk-libstdc++-includes.patch;patch=1 \
file://740-sh-pr24836.patch;patch=1 \
file://800-arm-bigendian.patch;patch=1 \
+ file://801-arm-bigendian-eabi.patch;patch=1 \
file://arm-nolibfloat.patch;patch=1 \
file://arm-softfloat.patch;patch=1 \
file://gcc41-configure.in.patch;patch=1 \
More information about the Openembedded-commits
mailing list