aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJeremy Soller <jackpot51@gmail.com>2017-01-11 15:05:53 +0000
committerNick Clifton <nickc@redhat.com>2017-01-11 15:05:53 +0000
commitf2e2d2f54b462db40efac449f4d7724ae4728fe5 (patch)
treec1a10f5548292ae8f375fa9df4c35eaf750f8ff8 /bfd
parentc8b23b3f89fbb0ed28d6b78f775b0038d8604798 (diff)
downloadgdb-f2e2d2f54b462db40efac449f4d7724ae4728fe5.zip
gdb-f2e2d2f54b462db40efac449f4d7724ae4728fe5.tar.gz
gdb-f2e2d2f54b462db40efac449f4d7724ae4728fe5.tar.bz2
Add support for x86/64 redox target.
bfd * config.bfd: Add entries for i686-redox and x86_64-redox. gas * configure.tgt: Add entry for i386-redox. ld * configure.tgt: Add entries for x86-redox and x86_64-redox.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/config.bfd10
2 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c45022b..d4c973b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-11 Jeremy Soller <jackpot51@gmail.com>
+
+ * config.bfd: Add entries for i686-redox and x86_64-redox.
+
2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Align .eh_frame section
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 6b93b51..d824065 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -760,6 +760,11 @@ case "${targ}" in
targ64_selvecs="x86_64_elf64_nacl_vec x86_64_elf32_nacl_vec"
targ_archs="$targ_archs bfd_arm_arch"
;;
+ i[3-7]86-*-redox*)
+ targ_defvec=i386_elf32_vec
+ targ_selvecs=
+ targ64_selvecs=x86_64_elf64_vec
+ ;;
#ifdef BFD64
x86_64-*-cloudabi*)
targ_defvec=x86_64_elf64_cloudabi_vec
@@ -817,6 +822,11 @@ case "${targ}" in
targ_defvec=x86_64_elf64_vec
want64=true
;;
+ x86_64-*-redox*)
+ targ_defvec=x86_64_elf64_vec
+ targ_selvecs=i386_elf32_vec
+ want64=true
+ ;;
#endif
i[3-7]86-*-lynxos*)
targ_defvec=i386_elf32_vec