x86-64-biarch
authorAnas Nashif <anas.nashif@intel.com>
Tue, 30 Oct 2012 19:42:04 +0000 (12:42 -0700)
committerVyacheslav Barinov <v.barinov@samsung.com>
Mon, 16 Feb 2015 07:34:03 +0000 (10:34 +0300)
ld/emulparams/elf_i386.sh

index 93f1992..e23ad5f 100644 (file)
@@ -12,6 +12,11 @@ GENERATE_SHLIB_SCRIPT=yes
 GENERATE_PIE_SCRIPT=yes
 NO_SMALL_DATA=yes
 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 12 ? 12 : 0"
+
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
+case "$EMULATION_NAME" in
+  *64*) LIBPATH_SUFFIX=64 ;;
+esac
 IREL_IN_PLT=
 
 # Linux modify the default library search path to first include