[oe-commits] org.oe.dev gcc-csl-arm-2005q3: Added patch to support big-endian builds of 3.4.4

rwhitby commit openembedded-commits at lists.openembedded.org
Tue Jul 10 15:59:14 UTC 2007


gcc-csl-arm-2005q3: Added patch to support big-endian builds of 3.4.4

Author: rwhitby at nslu2-linux.org
Branch: org.openembedded.dev
Revision: 30fd0291863e27389c540e21998cf9adf30d971c
ViewMTN: http://monotone.openembedded.org/revision.psp?id=30fd0291863e27389c540e21998cf9adf30d971c
Files:
1
packages/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch
packages/gcc/gcc_csl-arm-2005q3.bb
Diffs:

#
# mt diff -rde5be4f08169fd57f5838742274262b0e9ec89bb -r30fd0291863e27389c540e21998cf9adf30d971c
#
# 
# 
# add_file "packages/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch"
#  content [008311dc2f647e2edbc8237be354fcf5f5e71e2f]
# 
# patch "packages/gcc/gcc_csl-arm-2005q3.bb"
#  from [f98dfc1e2c2356f88fadc3cab92e030e0d162c0d]
#    to [abae682fa0bd645ccf732fd208f25c9391aecd71]
# 
============================================================
--- packages/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch	008311dc2f647e2edbc8237be354fcf5f5e71e2f
+++ packages/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch	008311dc2f647e2edbc8237be354fcf5f5e71e2f
@@ -0,0 +1,12 @@
+--- gcc-2005q3/gcc/config/arm/linux-eabi.h~	2007-07-10 09:19:47.000000000 +0930
++++ gcc-2005q3/gcc/config/arm/linux-eabi.h	2007-07-10 10:42:37.000000000 +0930
+@@ -48,7 +48,8 @@
+ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
+ 
+ #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_csl-arm-2005q3.bb	f98dfc1e2c2356f88fadc3cab92e030e0d162c0d
+++ packages/gcc/gcc_csl-arm-2005q3.bb	abae682fa0bd645ccf732fd208f25c9391aecd71
@@ -13,7 +13,8 @@ SRC_URI = "http://www.codesourcery.com/p
 require gcc-package.inc
 
 SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm/2005q3-2/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2 \
-           file://gcc_optab_arm.patch;patch=1"
+           file://gcc_optab_arm.patch;patch=1 \
+           file://gcc-3.4.4-eabi-bigendian.patch;patch=1"
 
 do_unpack2() {
 	cd ${WORKDIR}






More information about the Openembedded-commits mailing list