SHA256
1
0
forked from pool/binutils
binutils/x86-64-biarch.patch

14 lines
501 B
Diff

Index: ld/emulparams/elf_i386.sh
===================================================================
--- ld/emulparams/elf_i386.sh.orig 2012-06-11 15:23:50.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2012-09-14 14:00:17.501168779 +0200
@@ -13,3 +13,8 @@ GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 12 ? 12 : 0"
IREL_IN_PLT=
+
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
+case "$EMULATION_NAME" in
+ *64*) LIBPATH_SUFFIX=64 ;;
+esac