patches/gcc/4.1.2/800-arm-bigendian.patch
changeset 13 068dce39f687
parent 1 eeea35fbf182
     1.1 --- a/patches/gcc/4.1.2/800-arm-bigendian.patch	Sat Feb 24 11:00:05 2007 +0000
     1.2 +++ b/patches/gcc/4.1.2/800-arm-bigendian.patch	Sun Mar 04 22:56:04 2007 +0000
     1.3 @@ -1,12 +1,5 @@
     1.4 -By Lennert Buytenhek <buytenh@wantstofly.org>
     1.5 -Adds support for arm*b-linux* big-endian ARM targets
     1.6 -
     1.7 -See http://gcc.gnu.org/PR16350
     1.8 -
     1.9 -Index: gcc-4.1.1/gcc/config/arm/linux-elf.h
    1.10 -===================================================================
    1.11 ---- gcc-4.1.1.orig/gcc/config/arm/linux-elf.h
    1.12 -+++ gcc-4.1.1/gcc/config/arm/linux-elf.h
    1.13 +--- gcc-4.1.2.orig/gcc/config/arm/linux-elf.h	2007-03-04 23:25:37.000000000 +0100
    1.14 ++++ gcc-4.1.2/gcc/config/arm/linux-elf.h	2007-03-04 23:35:09.000000000 +0100
    1.15  @@ -28,19 +28,33 @@
    1.16   #undef  TARGET_VERSION
    1.17   #define TARGET_VERSION  fputs (" (ARM GNU/Linux with ELF)", stderr);
    1.18 @@ -44,7 +37,7 @@
    1.19   
    1.20   /* Now we define the strings used to build the spec file.  */
    1.21   #undef  LIB_SPEC
    1.22 -@@ -61,7 +75,7 @@
    1.23 +@@ -65,7 +79,7 @@
    1.24      %{rdynamic:-export-dynamic} \
    1.25      %{!dynamic-linker:-dynamic-linker " LINUX_TARGET_INTERPRETER "} \
    1.26      -X \
    1.27 @@ -53,11 +46,9 @@
    1.28      SUBTARGET_EXTRA_LINK_SPEC
    1.29   
    1.30   #undef  LINK_SPEC
    1.31 -Index: gcc-4.1.1/gcc/config.gcc
    1.32 -===================================================================
    1.33 ---- gcc-4.1.1.orig/gcc/config.gcc
    1.34 -+++ gcc-4.1.1/gcc/config.gcc
    1.35 -@@ -672,6 +672,11 @@ arm*-*-netbsd*)
    1.36 +--- gcc-4.1.2.orig/gcc/config.gcc	2007-03-04 23:31:48.000000000 +0100
    1.37 ++++ gcc-4.1.2/gcc/config.gcc	2007-03-04 23:35:09.000000000 +0100
    1.38 +@@ -672,6 +672,11 @@
    1.39   	;;
    1.40   arm*-*-linux*)			# ARM GNU/Linux with ELF
    1.41   	tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h" 
    1.42 @@ -68,11 +59,9 @@
    1.43  +	esac
    1.44   	tmake_file="${tmake_file} t-linux arm/t-arm"
    1.45   	case ${target} in
    1.46 - 	arm*-*-linux-gnueabi)
    1.47 -Index: gcc-4.1.1/gcc/config/arm/linux-eabi.h
    1.48 -===================================================================
    1.49 ---- gcc-4.1.1.orig/gcc/config/arm/linux-eabi.h
    1.50 -+++ gcc-4.1.1/gcc/config/arm/linux-eabi.h
    1.51 + 	arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    1.52 +--- gcc-4.1.2.orig/gcc/config/arm/linux-eabi.h	2007-03-04 23:31:48.000000000 +0100
    1.53 ++++ gcc-4.1.2/gcc/config/arm/linux-eabi.h	2007-03-04 23:35:09.000000000 +0100
    1.54  @@ -20,6 +20,17 @@
    1.55      the Free Software Foundation, 51 Franklin Street, Fifth Floor,
    1.56      Boston, MA 02110-1301, USA.  */
    1.57 @@ -100,10 +89,8 @@
    1.58   
    1.59   /* Use ld-linux.so.3 so that it will be possible to run "classic"
    1.60      GNU/Linux binaries on an EABI system.  */
    1.61 -Index: gcc-4.1.1/gcc/config/arm/bpabi.h
    1.62 -===================================================================
    1.63 ---- gcc-4.1.1.orig/gcc/config/arm/bpabi.h
    1.64 -+++ gcc-4.1.1/gcc/config/arm/bpabi.h
    1.65 +--- gcc-4.1.2.orig/gcc/config/arm/bpabi.h	2005-12-13 02:35:37.000000000 +0100
    1.66 ++++ gcc-4.1.2/gcc/config/arm/bpabi.h	2007-03-04 23:35:09.000000000 +0100
    1.67  @@ -33,9 +33,19 @@
    1.68   #undef FPUTYPE_DEFAULT
    1.69   #define FPUTYPE_DEFAULT FPUTYPE_VFP