aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-23 14:44:04 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-23 14:44:04 -0700
commit4a8f9fc2b2467ae8bcfb75392c10fde5a0053740 (patch)
tree2747534b2664e7d64e79403ce36cee51f0c07536 /ld
parent2739ef6db8e9a152f7b0ef8d012b394eb41a5dc5 (diff)
downloadgdb-4a8f9fc2b2467ae8bcfb75392c10fde5a0053740.zip
gdb-4a8f9fc2b2467ae8bcfb75392c10fde5a0053740.tar.gz
gdb-4a8f9fc2b2467ae8bcfb75392c10fde5a0053740.tar.bz2
i386: Don't add elf32_x86_64 to supported emulations
For 32-bit BFD, since elf64-x86-64.o isn't compiled in, "-m elf32_x86_64" never worked. Don't add elf32_x86_64 to supported emulations with 32-bit BFD. * configure.tgt (i[3-7]86-*-linux-*): Move elf32_x86_64 from targ_extra_libpath to targ64_extra_libpath.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.tgt3
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 24b6fa4..ac96579 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure.tgt (i[3-7]86-*-linux-*): Move elf32_x86_64 from
+ targ_extra_libpath to targ64_extra_libpath.
+
2017-10-23 Nick Clifton <nickc@redhat.com>
PR 22310
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 42613e8..89f7bbf 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -269,8 +269,7 @@ i[3-7]86-*-linux*oldld) targ_emul=i386linux
i[3-7]86-*-linux-*) targ_emul=elf_i386
targ_extra_emuls="i386linux elf_iamcu"
targ64_extra_emuls="elf_x86_64 elf32_x86_64 elf_l1om elf_k1om"
- targ64_extra_libpath=elf_x86_64
- targ_extra_libpath=elf32_x86_64
+ targ64_extra_libpath="elf_x86_64 elf32_x86_64"
tdir_i386linux=${targ_alias}aout ;;
x86_64-*-linux-gnux32) targ_emul=elf32_x86_64
targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om"