aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
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 /ld/configure.tgt
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 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 7eb53ce..f373ee5 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -274,6 +274,10 @@ x86_64-*-linux-*) targ_emul=elf_x86_64
targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om"
tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;;
+i[3-7]86-*-redox*) targ_emul=elf_i386
+ targ_extra_emuls=elf_x86_64 ;;
+x86_64-*-redox*) targ_emul=elf_x86_64
+ targ_extra_emuls=elf_i386 ;;
i[3-7]86-*-sysv[45]*) targ_emul=elf_i386
targ_extra_emuls=elf_iamcu ;;
i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2