X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c9615c4bdcf413c557ce1d50e39aaa9b34b3de84..b40bc2899b2e399c07e4b0b1dda0f9cfcb9c8b5a:/toolchain/gcc/patches/4.1.2/850-unbreak-armv4t.patch diff --git a/toolchain/gcc/patches/4.1.2/850-unbreak-armv4t.patch b/toolchain/gcc/patches/4.1.2/850-unbreak-armv4t.patch index b291a70ee..8e3d18ae5 100644 --- a/toolchain/gcc/patches/4.1.2/850-unbreak-armv4t.patch +++ b/toolchain/gcc/patches/4.1.2/850-unbreak-armv4t.patch @@ -1,6 +1,6 @@ --- a/gcc/config/arm/linux-eabi.h +++ b/gcc/config/arm/linux-eabi.h -@@ -45,7 +45,7 @@ +@@ -56,7 +56,7 @@ The ARM10TDMI core is the default for armv5t, so set SUBTARGET_CPU_DEFAULT to achieve this. */ #undef SUBTARGET_CPU_DEFAULT @@ -8,4 +8,4 @@ +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi #undef SUBTARGET_EXTRA_LINK_SPEC - #define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi" + #define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION