forked from pool/binutils
11203e4515
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=30bdcdf01676d704cb1d357d78d1160b
15 lines
496 B
Diff
15 lines
496 B
Diff
Index: ld/emulparams/elf_i386.sh
|
|
===================================================================
|
|
--- ld/emulparams/elf_i386.sh.orig 2009-11-23 14:02:48.000000000 +0100
|
|
+++ ld/emulparams/elf_i386.sh 2009-11-23 14:03:08.000000000 +0100
|
|
@@ -12,4 +12,9 @@ GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
NO_SMALL_DATA=yes
|
|
SEPARATE_GOTPLT=12
|
|
+
|
|
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
|
|
+case "$EMULATION_NAME" in
|
|
+ *64*) LIBPATH_SUFFIX=64 ;;
|
|
+esac
|
|
IREL_IN_PLT=
|