bfd: also enable x86_64pei_vec for 64bit i386-linux targets
authorMike Frysinger <vapier@gentoo.org>
Mon, 24 Dec 2012 02:47:51 +0000 (02:47 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 24 Dec 2012 02:47:51 +0000 (02:47 +0000)
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>
bfd/ChangeLog
bfd/config.bfd

index ec7d98f750f0fbf02d180a6dde66ae8074b9f8e0..9be65bfdbbaa27ea89761cd7e3c67bc36cf901cc 100644 (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
index ac89d88a2754cdebd782618556a4b97aff127607..43edd4c40142873e04f9428e1f28883628d9437b 100644 (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