In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters.
Add it back.

Signed-off-by: Jochen Friedrich <joc...@scram.de>

diff --git a/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch 
b/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch
index 41b790a..8800c03 100644
--- a/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch
@@ -11,10 +11,10 @@
  /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
     use the GNU/Linux version, not the generic BPABI version.  */
  #undef  LINK_SPEC
- #define LINK_SPEC BE8_LINK_SPEC                                               
\
+-#define LINK_SPEC BE8_LINK_SPEC                                               
\
++#define LINK_SPEC BE8_LINK_SPEC TARGET_FIX_V4BX_SPEC                          
\
    LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC,                                
\
--                     LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
-+                     LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)    \
+                      LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
  
  #undef  CC1_SPEC
  #define CC1_SPEC                                              \
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to