Add support for 64-bit ARM architecture: AArch64
[deliverable/binutils-gdb.git] / gas / configure.tgt
index e07bc553e18336c308cb406317194844b5b92136..9e44de000145c39abfd3ea325656a4d4bc066198 100644 (file)
@@ -29,6 +29,8 @@ eval `echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
 # endian and arch.
 # Note: This table is alpha-sorted, please try to keep it that way.
 case ${cpu} in
+  aarch64)             cpu_type=aarch64 endian=little ;;
+  aarch64_be)          cpu_type=aarch64 endian=big ;;
   alpha*)              cpu_type=alpha ;;
   am33_2.0)            cpu_type=mn10300 endian=little ;;
   arm*be|arm*b)                cpu_type=arm endian=big ;;
@@ -96,6 +98,9 @@ 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*-*-linux*)                   fmt=elf em=linux ;;
+
   alpha-*-*vms*)                       fmt=evax ;;
   alpha-*-osf*)                                fmt=ecoff ;;
   alpha-*-linuxecoff*)                 fmt=ecoff ;;
@@ -446,7 +451,7 @@ case ${generic_target} in
 esac
 
 case ${cpu_type} in
-  alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
+  aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
     bfd_gas=yes
     ;;
 esac
This page took 0.04045 seconds and 4 git commands to generate.