binutils/x86-64-biarch.patch
Richard Biener 41055b7c62 Accepting request 22567 from home:rguenther
Copy from home:rguenther/binutils via accept of submit request 22567 revision 5.

OBS-URL: https://build.opensuse.org/request/show/22567
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=7
2009-10-19 09:35:54 +00:00

15 lines
496 B
Diff

Index: ld/emulparams/elf_i386.sh
===================================================================
--- ld/emulparams/elf_i386.sh.orig 2009-10-13 17:26:45.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2009-10-13 17:26:51.000000000 +0200
@@ -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=