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.
This commit is contained in:
H.J. Lu 2017-10-23 14:44:04 -07:00
parent 2739ef6db8
commit 4a8f9fc2b2
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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"