aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-25 10:05:51 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-26 14:07:27 -0600
commit12a132db164ea95e9e457427c2c97005f94c5a70 (patch)
treed2ea6902df7e92e52c1242bd7743e021aa380ce5
parentf73dbb0e48ef50d2743fed89b68530b731329f05 (diff)
downloadgdb-12a132db164ea95e9e457427c2c97005f94c5a70.zip
gdb-12a132db164ea95e9e457427c2c97005f94c5a70.tar.gz
gdb-12a132db164ea95e9e457427c2c97005f94c5a70.tar.bz2
Add aarch64-*-rtems* target
-rw-r--r--bfd/config.bfd2
-rw-r--r--gas/configure.tgt2
-rw-r--r--gdb/configure.tgt2
-rw-r--r--ld/configure.tgt3
4 files changed, 5 insertions, 4 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index dc9cae5..5145d4a 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -176,7 +176,7 @@ case "${targ}" in
targ_archs="$targ_archs bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch"
want64=true
;;
- aarch64-*-elf)
+ aarch64-*-elf | aarch64-*-rtems*)
targ_defvec=aarch64_elf64_le_vec
targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 5ba5700..75470e4 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -120,7 +120,7 @@ esac
generic_target=${cpu_type}-$vendor-$os
# Note: This table is alpha-sorted, please try to keep it that way.
case ${generic_target} in
- aarch64*-*-elf) fmt=elf;;
+ aarch64*-*-elf | aarch64*-*-rtems*) fmt=elf;;
aarch64*-*-linux*) fmt=elf em=linux ;;
alpha-*-*vms*) fmt=evax ;;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 25586d5..c2b9c40 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -36,7 +36,7 @@ esac
# map target info into gdb names.
case "${targ}" in
-aarch64*-*-elf)
+aarch64*-*-elf | aarch64*-*-rtems*)
# Target: AArch64 embedded system
gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
;;
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 71df274..aabcfc0 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -47,7 +47,8 @@ targ64_extra_libpath=
case "${targ}" in
aarch64_be-*-elf) targ_emul=aarch64elfb
targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;;
-aarch64-*-elf) targ_emul=aarch64elf
+aarch64-*-elf | aarch64-*-rtems*)
+ targ_emul=aarch64elf
targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;;
aarch64-*-cloudabi*) targ_emul=aarch64cloudabi
targ_extra_emuls=aarch64cloudabib ;;