This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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>

2012-12-23  Mike Frysinger  <vapier@gentoo.org>

	* config.bfd (i[3-7]86-*-linux-*): Add x86_64pei_vec to
	targ64_selvecs.
---
 bfd/config.bfd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]