Add aarch64-*-rtems* target
authorJoel Sherrill <joel@rtems.org>
Thu, 25 Feb 2016 16:05:51 +0000 (10:05 -0600)
committerJoel Sherrill <joel@rtems.org>
Fri, 26 Feb 2016 20:07:27 +0000 (14:07 -0600)
bfd/config.bfd
gas/configure.tgt
gdb/configure.tgt
ld/configure.tgt

index dc9cae559e9678b9828221b1056fdba067172bd9..5145d4a505523c9a05be11c5e0c6bec7e2887604 100644 (file)
@@ -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
index 5ba5700a0ec611142a939ff6fc6577a67eeacefa..75470e40898a26a6c0c57ce8af1b55f2fb5e7fc3 100644 (file)
@@ -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 ;;
index 25586d52867e700fcbbc6eba5da868b54a81d2fb..c2b9c40e4412d3c6e497ad696cbdfac343094aaa 100644 (file)
@@ -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"
        ;;
index 71df2749acc788cac668f7a65e4a19bd23fea18f..aabcfc0cd745e16197b794044437d66eda887d12 100644 (file)
@@ -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 ;;