bfd: also enable x86_64pei_vec for 64bit i386-linux targets

We enable x86_64pei_vec for x86_64-linux targets, so we should list this
in the 64bit i386-linux vec section.  This is useful for when we want to
build 64bit EFI code on an i386 system.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2012-12-24 02:47:51 +00:00
parent e14d7bc6b3
commit 884f2a8d06
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-12-23 Mike Frysinger <vapier@gentoo.org>
* config.bfd (i[3-7]86-*-linux-*): Add x86_64pei_vec to
targ64_selvecs.
2012-12-21 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_x86_64_relocate_section): Check

View file

@ -621,7 +621,7 @@ case "${targ}" in
i[3-7]86-*-linux-*)
targ_defvec=bfd_elf32_i386_vec
targ_selvecs="i386linux_vec i386pei_vec"
targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf32_x86_64_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
;;
i[3-7]86-*-nacl*)
targ_defvec=bfd_elf32_i386_nacl_vec