1 Index: gcc-4.2.3/gcc/config.gcc
2 ===================================================================
3 --- gcc-4.2.3.orig/gcc/config.gcc 2008-05-21 13:45:54.181287953 +0200
4 +++ gcc-4.2.3/gcc/config.gcc 2008-05-21 13:46:03.094289162 +0200
9 -arm*-*-linux*) # ARM GNU/Linux with ELF
10 +arm*-linux*) # ARM GNU/Linux with ELF
11 tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
12 tmake_file="${tmake_file} t-linux arm/t-arm"
20 tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
21 tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
22 # The BPABI long long divmod functions return a 128-bit value in
23 Index: gcc-4.2.3/gcc/config/arm/linux-eabi.h
24 ===================================================================
25 --- gcc-4.2.3.orig/gcc/config/arm/linux-eabi.h 2007-09-01 17:28:30.000000000 +0200
26 +++ gcc-4.2.3/gcc/config/arm/linux-eabi.h 2008-05-21 13:46:03.094289162 +0200
28 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
30 #undef SUBTARGET_EXTRA_LINK_SPEC
31 -#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"
32 +#define SUBTARGET_EXTRA_LINK_SPEC \
33 + " %{mbig-endian:-m armelfb_linux_eabi} %{mlittle-endian:-m armelf_linux_eabi} "
35 /* Use ld-linux.so.3 so that it will be possible to run "classic"
36 GNU/Linux binaries on an EABI system. */