gcc: update, split and rework 4.8 musl patches
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.8-linaro / 840-armv4_pass_fix-v4bx_to_ld.patch
index e938905ab98436e594a827440e006bcc17868981..2283b83c5f290e3cc771fcd96c53a9fedfb26e2f 100644 (file)
@@ -1,8 +1,8 @@
 --- a/gcc/config/arm/linux-eabi.h
 +++ b/gcc/config/arm/linux-eabi.h
-@@ -81,10 +81,15 @@
- #undef  MUSL_DYNAMIC_LINKER
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-arm.so.1"
+@@ -94,10 +94,15 @@
+ #define MUSL_DYNAMIC_LINKER \
  "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}.so.1"
  
 +/* For armv4 we pass --fix-v4bx to linker to support EABI */
 +#undef TARGET_FIX_V4BX_SPEC