Add x86_64-*-rtems* target

ld/configure.tgt: Also add stanza for x86_64-*-elf.
This commit is contained in:
Joel Sherrill 2015-04-03 19:08:27 -05:00 committed by Joel Sherrill
parent c5e3a3641e
commit f73dbb0e48
3 changed files with 6 additions and 2 deletions

View 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

View 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 \

View 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/'`