In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters. Add it back.
authorImre Kaloz <kaloz@openwrt.org>
Tue, 12 Jul 2011 13:34:18 +0000 (13:34 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Tue, 12 Jul 2011 13:34:18 +0000 (13:34 +0000)
Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 27599

toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch

index 41b790a..8800c03 100644 (file)
  /* 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                                              \