diff options
Diffstat (limited to 'toolchain/gcc/4.2/800-arm-bigendian.patch')
-rw-r--r-- | toolchain/gcc/4.2/800-arm-bigendian.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/toolchain/gcc/4.2/800-arm-bigendian.patch b/toolchain/gcc/4.2/800-arm-bigendian.patch index 9ad4e59d1..07c609337 100644 --- a/toolchain/gcc/4.2/800-arm-bigendian.patch +++ b/toolchain/gcc/4.2/800-arm-bigendian.patch @@ -51,17 +51,17 @@ See http://gcc.gnu.org/PR16350 SUBTARGET_EXTRA_LINK_SPEC #undef LINK_SPEC ---- gcc-4.2.0/gcc/config.gcc -+++ gcc-4.2.0/gcc/config.gcc -@@ -694,6 +694,11 @@ - ;; - arm*-*-linux*) # ARM GNU/Linux with ELF - tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h" -+ case $target in +--- gcc-4.2.0/gcc/config.gcc.orig 2006-09-22 14:53:41.000000000 +0200 ++++ gcc-4.2.0/gcc/config.gcc 2006-09-25 10:45:21.000000000 +0200 +@@ -696,6 +696,11 @@ + tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h" + tmake_file="${tmake_file} t-linux arm/t-arm" + case ${target} in + arm*b-*) + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" + ;; + esac - tmake_file="${tmake_file} t-linux arm/t-arm" - case ${target} in ++ case ${target} in arm*-*-linux-*eabi) + tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h" + tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi" |