LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File x86-64-biarch.patch of Package cross-ppc64-binutils (Project openSUSE:12.1)

Index: ld/emulparams/elf_i386.sh
===================================================================
--- ld/emulparams/elf_i386.sh.orig	2009-07-29 16:59:23.000000000 +0200
+++ ld/emulparams/elf_i386.sh	2011-04-19 14:51:40.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=