Add support for Motorola XGATE embedded CPU
[deliverable/binutils-gdb.git] / gas / configure.tgt
index 7090682fbd07783cfd5ef0563a0ee7516fb066be..99de3d74c40adf37c09ad55be5f2a5322cec1745 100644 (file)
@@ -13,7 +13,7 @@
 #   em         emulation; identifies the config/te-* files
 
 # Optional output shell variables; these are not always set:
-#   arch       the default architecture; sets DEFAULT_ARCH on some systems 
+#   arch       the default architecture; sets DEFAULT_ARCH on some systems
 #   endian     "big" or "little"; used on bi-endian systems
 
 cpu_type=
@@ -43,8 +43,8 @@ case ${cpu} in
   hppa*)               cpu_type=hppa ;;
   i[3-7]86)            cpu_type=i386 arch=i386;;
   ia64)                        cpu_type=ia64 ;;
-  ip2k)                        cpu_type=ip2k endian=big ;; 
-  iq2000)              cpu_type=iq2000 endian=big ;; 
+  ip2k)                        cpu_type=ip2k endian=big ;;
+  iq2000)              cpu_type=iq2000 endian=big ;;
   lm32)                        cpu_type=lm32 ;;
   m32c)                        cpu_type=m32c endian=little ;;
   m32r)                        cpu_type=m32r endian=big ;;
@@ -82,8 +82,11 @@ case ${cpu} in
   sparclet*)           cpu_type=sparc arch=sparclet ;;
   sparclite*)          cpu_type=sparc arch=sparclite ;;
   sparc*)              cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
+  tilegx*be)           cpu_type=tilegx endian=big ;;
+  tilegx*)             cpu_type=tilegx endian=little ;;
   v850*)               cpu_type=v850 ;;
   x86_64*)             cpu_type=i386 arch=x86_64;;
+  xgate)               cpu_type=xgate ;;
   xtensa*)             cpu_type=xtensa arch=xtensa ;;
   *)                   cpu_type=${cpu} ;;
 esac
@@ -115,6 +118,7 @@ case ${generic_target} in
   arm-*-linux-*)                       fmt=elf  em=linux ;;
   arm-*-uclinux*eabi*)                 fmt=elf  em=armlinuxeabi ;;
   arm-*-uclinux*)                      fmt=elf  em=linux ;;
+  arm-*-nacl*)                         fmt=elf  em=nacl ;;
   arm-*-netbsdelf*)                    fmt=elf  em=nbsd ;;
   arm-*-*n*bsd*)                       fmt=aout em=nbsd ;;
   arm-*-nto*)                          fmt=elf ;;
@@ -181,6 +185,10 @@ case ${generic_target} in
   i386-*-elf)                          fmt=elf ;;
   i386-*-kaos*)                                fmt=elf ;;
   i386-*-bsd*)                         fmt=aout em=386bsd ;;
+  i386-*-nacl*)                                fmt=elf em=nacl
+    case ${cpu} in
+      x86_64*)                         arch=x86_64:32 ;;
+    esac ;;
   i386-*-netbsd0.8)                    fmt=aout em=386bsd ;;
   i386-*-netbsdpe*)                    fmt=coff em=pe ;;
   i386-*-netbsd*-gnu* | \
@@ -403,7 +411,7 @@ case ${generic_target} in
   tic54x-*-* | c54x*-*-*)              fmt=coff bfd_gas=yes need_libm=yes;;
   tic6x-*-*)                           fmt=elf ;;
 
-  tilepro-*-* | tilegx-*-*)            fmt=elf ;;
+  tilepro-*-* | tilegx*-*-*)           fmt=elf ;;
 
   v850*-*-*)                           fmt=elf ;;
 
@@ -411,6 +419,8 @@ case ${generic_target} in
   vax-*-linux-*)                       fmt=elf em=linux ;;
 
   xstormy16-*-*)                       fmt=elf ;;
+  
+  xgate-*-*)                           fmt=elf ;;
 
   xtensa*-*-*)                         fmt=elf ;;
 
This page took 0.025704 seconds and 4 git commands to generate.