Add x86_64-*-rtems* target
authorJoel Sherrill <joel.sherrill@oarcorp.com>
Sat, 4 Apr 2015 00:08:27 +0000 (19:08 -0500)
committerJoel Sherrill <joel@rtems.org>
Fri, 26 Feb 2016 20:07:26 +0000 (14:07 -0600)
ld/configure.tgt: Also add stanza for x86_64-*-elf.

bfd/config.bfd
gdb/configure.tgt
ld/configure.tgt

index 23da3216023c778250ee43f056e3c494df849d0a..dc9cae559e9678b9828221b1056fdba067172bd9 100644 (file)
@@ -687,7 +687,7 @@ case "${targ}" in
     targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
-  x86_64-*-elf*)
+  x86_64-*-elf* | x86_64-*-rtems*)
     targ_defvec=x86_64_elf64_vec
     targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
index 54245c3d5522064e3971657c82234329546b01f0..25586d52867e700fcbbc6eba5da868b54a81d2fb 100644 (file)
@@ -650,6 +650,9 @@ x86_64-*-dicos*)
        gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
                        dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
        ;;
+x86_64-*-elf* | x86_64-*-rtems*)
+       gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386bsd-tdep.o"
+        ;;
 x86_64-*-linux*)
        # Target: GNU/Linux x86-64
        gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
index 267138be8970c4fb5987b34375627ec3d5a95fba..71df2749acc788cac668f7a65e4a19bd23fea18f 100644 (file)
@@ -314,7 +314,8 @@ i[3-7]86-*-elfiamcu)        targ_emul=elf_iamcu
                        targ_extra_emuls=elf_i386 ;;
 i[3-7]86-*-elf*)       targ_emul=elf_i386
                        targ_extra_emuls=elf_iamcu ;;
-x86_64-*-elf*)         targ_emul=elf_x86_64
+x86_64-*-elf* | x86_64-*-rtems*)
+                       targ_emul=elf_x86_64
                        targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
                        targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`