projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23dd9a0
)
x86-64-biarch
author
Anas Nashif
<anas.nashif@intel.com>
Tue, 30 Oct 2012 19:42:04 +0000
(12:42 -0700)
committer
Vyacheslav Barinov
<v.barinov@samsung.com>
Mon, 16 Feb 2015 07:34:03 +0000
(10:34 +0300)
ld/emulparams/elf_i386.sh
patch
|
blob
|
history
diff --git
a/ld/emulparams/elf_i386.sh
b/ld/emulparams/elf_i386.sh
index
93f1992
..
e23ad5f
100644
(file)
--- a/
ld/emulparams/elf_i386.sh
+++ b/
ld/emulparams/elf_i386.sh
@@
-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