1 --- a/gcc/config/arm/linux-eabi.h
2 +++ b/gcc/config/arm/linux-eabi.h
4 #undef GLIBC_DYNAMIC_LINKER
5 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
7 +/* For armv4 we pass --fix-v4bx to linker to support EABI */
8 +#undef TARGET_FIX_V4BX_SPEC
9 +#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*|march=armv4:--fix-v4bx}"
11 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
12 use the GNU/Linux version, not the generic BPABI version. */
14 -#define LINK_SPEC LINUX_TARGET_LINK_SPEC BE8_LINK_SPEC
15 +#define LINK_SPEC LINUX_TARGET_LINK_SPEC BE8_LINK_SPEC TARGET_FIX_V4BX_SPEC
17 /* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we
18 do not use -lfloat. */