This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] 2018-05-30 Amaan Cheval <amaan dot cheval at gmail dot com>
- From: Joel Sherrill <joel at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 30 May 2018 15:05:19 -0000
- Subject: [binutils-gdb] 2018-05-30 Amaan Cheval <amaan dot cheval at gmail dot com>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=421acf18739edb54111b64d2b328ea2e7bf19889
commit 421acf18739edb54111b64d2b328ea2e7bf19889
Author: Amaan Cheval <amaan.cheval@gmail.com>
Date: Sat May 19 01:50:40 2018 +0530
2018-05-30 Amaan Cheval <amaan.cheval@gmail.com>
* config.bfd (x86_64-*-*): Add pei-x86-64 target to x86_64-*-rtems*
This is needed to generate UEFI application image files from ELFs.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/config.bfd | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5e1724b..829305e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-30 Amaan Cheval <amaan.cheval@gmail.com>
+
+ * config.bfd (x86_64-*-*): Add pei-x86-64 target to x86_64-*-rtems*
+ This is needed to generate UEFI application image files from ELFs.
+
2018-05-28 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_lazy_plt): Add plt_tlsdesc_entry,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0db8ed4..f8ca72b 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -665,6 +665,10 @@ case "${targ}" in
x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia)
targ_defvec=x86_64_elf64_vec
targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
+ case "${targ}" in
+ x86_64-*-rtems*)
+ targ_selvecs="${targ_selvecs} x86_64_pei_vec"
+ esac
want64=true
;;
x86_64-*-dragonfly*)