aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-24 02:47:51 +0000
committerMike Frysinger <vapier@gentoo.org>2012-12-24 02:47:51 +0000
commit884f2a8d06d3793f8a611feaccc8bc7c29cd9f8b (patch)
tree7bac4965d30947bdb15a8e16a97a7958c5a6fbfe
parente14d7bc6b34ec609f832896a5f7d78579ec7ed4a (diff)
downloadgdb-884f2a8d06d3793f8a611feaccc8bc7c29cd9f8b.zip
gdb-884f2a8d06d3793f8a611feaccc8bc7c29cd9f8b.tar.gz
gdb-884f2a8d06d3793f8a611feaccc8bc7c29cd9f8b.tar.bz2
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>
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/config.bfd2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ec7d98f..9be65bf 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/config.bfd b/bfd/config.bfd
index ac89d88..43edd4c 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -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