summaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorAmaan Cheval <amaan.cheval@gmail.com>2018-05-19 01:50:40 +0530
committerJoel Sherrill <joel@rtems.org>2018-05-30 10:04:28 -0500
commit421acf18739edb54111b64d2b328ea2e7bf19889 (patch)
tree085928ed5d8a0d37260b0169c7be8670199a3418 /bfd/config.bfd
parentf7c6f42310233479ea6339430b7c1ca1f9ec68e1 (diff)
downloadbinutils-gdb-421acf18739edb54111b64d2b328ea2e7bf19889.tar.gz
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.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0db8ed4562b..f8ca72b3323 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*)