[oe-commits] org.oe.dev gcc 4.1.1: Add patch from Dallas Foley to fix EABI on armv4t

koen commit openembedded-commits at lists.openembedded.org
Thu Oct 26 10:25:34 UTC 2006


gcc 4.1.1: Add patch from Dallas Foley to fix EABI on armv4t
* no more 'clz' isns in binaries

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: cd4bc9a768c327a3cdb533441efac2b87cdb7af0
ViewMTN: http://monotone.openembedded.org/revision.psp?id=cd4bc9a768c327a3cdb533441efac2b87cdb7af0
Files:
1
packages/gcc/gcc-4.1.1/unbreak-armv4t.patch
packages/gcc/gcc_4.1.1.bb
Diffs:

#
# mt diff -r1ed60e90d7c41245beb3b69949a240d6864e1f1a -rcd4bc9a768c327a3cdb533441efac2b87cdb7af0
#
# 
# 
# add_file "packages/gcc/gcc-4.1.1/unbreak-armv4t.patch"
#  content [a184b2b1fd6771fe326d9ab9dd054cba5334513c]
# 
# patch "packages/gcc/gcc_4.1.1.bb"
#  from [30ac1bd0daf29b64bc91545eb6103b9c13e7d2f8]
#    to [fb6135a49976150f9cf7a6e176a6996e039021b9]
# 
============================================================
--- packages/gcc/gcc-4.1.1/unbreak-armv4t.patch	a184b2b1fd6771fe326d9ab9dd054cba5334513c
+++ packages/gcc/gcc-4.1.1/unbreak-armv4t.patch	a184b2b1fd6771fe326d9ab9dd054cba5334513c
@@ -0,0 +1,12 @@
+diff -urN gcc-4.1.1/gcc/config/arm/linux-eabi.h gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h
+--- gcc-4.1.1/gcc/config/arm/linux-eabi.h	2006-10-22 11:11:49.000000000 -0700
++++ gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h	2006-10-24 21:34:01.000000000 -0700
+@@ -45,7 +45,7 @@
+    The ARM10TDMI core is the default for armv5t, so set
+    SUBTARGET_CPU_DEFAULT to achieve this.  */
+ #undef SUBTARGET_CPU_DEFAULT
+-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
++#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
+ 
+ #undef SUBTARGET_EXTRA_LINK_SPEC
+ #define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"
============================================================
--- packages/gcc/gcc_4.1.1.bb	30ac1bd0daf29b64bc91545eb6103b9c13e7d2f8
+++ packages/gcc/gcc_4.1.1.bb	fb6135a49976150f9cf7a6e176a6996e039021b9
@@ -27,7 +27,9 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gc
 	file://arm-thumb-cache.patch;patch=1 \
 	file://ldflags.patch;patch=1 \
 	file://cse.patch;patch=1 \
-	file://zecke-xgcc-cpp.patch;patch=1 "
+	file://zecke-xgcc-cpp.patch;patch=1 \
+	file://unbreak-armv4t.patch;patch=1 \
+	"
 
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
 






More information about the Openembedded-commits mailing list