Default e_machine to EM_IAMCU for i?86-*-elfiamcu
[deliverable/binutils-gdb.git] / gas / configure.tgt
index da6f65a184a7ba0421accf0848639f012dedfa55..d14bcdf5faf7f10578f9652aa4dcfd5aed5a16ad 100644 (file)
@@ -1,6 +1,6 @@
 # gas target specific configuration file.  This is a -*- sh -*- file.
 #
-#   Copyright 2012 Free Software Foundation
+#   Copyright (C) 2012-2015 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -79,7 +79,9 @@ case ${cpu} in
   mips*el)             cpu_type=mips endian=little ;;
   mips*)               cpu_type=mips endian=big ;;
   mt)                  cpu_type=mt endian=big ;;
-  or32*)               cpu_type=or32 endian=big ;;
+  nds32be)             cpu_type=nds32 endian=big ;;
+  nds32le)             cpu_type=nds32 endian=little ;;
+  or1k* | or1knd*)     cpu_type=or1k endian=big ;;
   pjl*)                        cpu_type=pj endian=little ;;
   pj*)                 cpu_type=pj endian=big ;;
   powerpc*le*)         cpu_type=ppc endian=little ;;
@@ -105,6 +107,7 @@ case ${cpu} in
   tilegx*be)           cpu_type=tilegx endian=big ;;
   tilegx*)             cpu_type=tilegx endian=little ;;
   v850*)               cpu_type=v850 ;;
+  visium)              cpu_type=visium endian=big ;;
   x86_64*)             cpu_type=i386 arch=x86_64;;
   xgate)               cpu_type=xgate ;;
   xtensa*)             cpu_type=xtensa arch=xtensa ;;
@@ -121,7 +124,7 @@ case ${generic_target} in
 
   alpha-*-*vms*)                       fmt=evax ;;
   alpha-*-osf*)                                fmt=ecoff ;;
-  alpha-*-linuxecoff*)                 fmt=ecoff ;;
+  alpha-*-linux*ecoff*)                        fmt=ecoff ;;
   alpha-*-linux-*)                     fmt=elf em=linux ;;
   alpha-*-netbsd*)                     fmt=elf em=nbsd ;;
   alpha-*-openbsd*)                    fmt=elf em=obsd ;;
@@ -136,6 +139,10 @@ case ${generic_target} in
   arm-*-symbianelf*)                   fmt=elf em=symbian ;;
   arm-*-kaos*)                         fmt=elf ;;
   arm-*-conix*)                                fmt=elf ;;
+  arm-*-freebsd[89].* | armeb-*-freebsd[89].*)
+                                       fmt=elf  em=freebsd ;;
+  arm-*-freebsd* | armeb-*-freebsd*)   fmt=elf  em=armfbsdeabi ;;
+  arm*-*-freebsd*)                     fmt=elf  em=armfbsdvfp ;;
   arm-*-linux*aout*)                   fmt=aout em=linux ;;
   arm-*-linux-*eabi*)                  fmt=elf  em=armlinuxeabi ;;
   arm-*-linux-*)                       fmt=elf  em=linux ;;
@@ -176,6 +183,8 @@ case ${generic_target} in
   frv-*-*linux*)                       fmt=elf em=linux;;
   frv-*-*)                             fmt=elf ;;
 
+  ft32-*-*)                            fmt=elf ;;
+
   hppa-*-linux*)
     case ${cpu} in
       hppa*64*)                                fmt=elf em=hppalinux64 ;;
@@ -197,6 +206,7 @@ case ${generic_target} in
   hppa-*-hiux*)                                fmt=som em=hppa ;;
 
   h8300-*-elf | h8300-*-rtems*)                fmt=elf ;;
+  h8300-*-linux*)                      fmt=elf em=linux ;;
 
   i370-*-elf* | i370-*-linux*)         fmt=elf ;;
 
@@ -205,7 +215,8 @@ case ${generic_target} in
   i386-*-beospe*)                      fmt=coff em=pe ;;
   i386-*-beos*)                                fmt=elf ;;
   i386-*-coff)                         fmt=coff ;;
-  i386-*-elf)                          fmt=elf ;;
+  i386-*-elfiamcu)                     fmt=elf arch=iamcu ;;
+  i386-*-elf*)                         fmt=elf ;;
   i386-*-kaos*)                                fmt=elf ;;
   i386-*-bsd*)                         fmt=aout em=386bsd ;;
   i386-*-nacl*)                                fmt=elf em=nacl
@@ -318,23 +329,14 @@ case ${generic_target} in
 
   microblaze-*-*)                      fmt=elf ;;
 
-  # don't change em like *-*-bsd does
-  mips-sony-bsd*)                      fmt=ecoff ;;
-  mips-*-ultrix*)                      fmt=ecoff endian=little ;;
-  mips-*-osf*)                         fmt=ecoff endian=little ;;
-  mips-*-ecoff*)                       fmt=ecoff ;;
-  mips-*-pe*)                          fmt=coff endian=little em=pe ;;
   mips-*-irix6*)                       fmt=elf em=irix ;;
   mips-*-irix5*)                       fmt=elf em=irix ;;
-  mips-*-irix*)                                fmt=ecoff em=irix ;;
-  mips-*-lnews*)                       fmt=ecoff em=lnews ;;
-  mips-*-riscos*)                      fmt=ecoff ;;
   mips*-*-linux*)                      fmt=elf em=tmips ;;
   mips*-*-freebsd* | mips*-*-kfreebsd*-gnu)
                                        fmt=elf em=freebsd ;;
   mips-*-sysv4*MP* | mips-*-gnu*)      fmt=elf em=tmips ;;
-  mips*-sde-elf* | mips*-mti-elf*)     fmt=elf em=tmips ;;
-  mips-*-sysv*)                                fmt=ecoff ;;
+  mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
+                                       fmt=elf em=tmips ;;
   mips-*-elf* | mips-*-rtems*)         fmt=elf ;;
   mips-*-netbsd*)                      fmt=elf em=tmips ;;
   mips-*-openbsd*)                     fmt=elf em=tmips ;;
@@ -347,13 +349,17 @@ case ${generic_target} in
   mn10300-*-linux*)                    fmt=elf em=linux ;;
   mn10300-*-*)                         fmt=elf ;;
 
-  moxie-*-uclinux)                     fmt=elf em=linux;;
+  moxie-*-uclinux)                     fmt=elf em=linux ;;
+  moxie-*-moxiebox*)                    fmt=elf endian=little ;;
   moxie-*-*)                           fmt=elf ;;
-
+    
   mt-*-elf)                            fmt=elf bfd_gas=yes ;;
 
   msp430-*-*)                          fmt=elf ;;
 
+  nds32-*-elf*)                                fmt=elf ;;
+  nds32-*-linux*)                      fmt=elf em=linux ;;
+
   nios2-*-rtems*)                      fmt=elf ;;
   nios2*-linux*)                       fmt=elf em=linux ;;
 
@@ -362,10 +368,8 @@ case ${generic_target} in
   ns32k-pc532-lites*)                  fmt=aout em=nbsd532 ;;
   ns32k-*-*n*bsd*)                     fmt=aout em=nbsd532 ;;
 
-  openrisc-*-*)                                fmt=elf ;;
-
-  or32-*-rtems*)                       fmt=elf ;;
-  or32-*-elf)                          fmt=elf ;;
+  or1k*-*-elf | or1k*-*-rtems*)        fmt=elf endian=big ;;
+  or1k*-*-linux*)                      fmt=elf em=linux endian=big ;;
 
   pj*)                                 fmt=elf ;;
 
@@ -373,7 +377,7 @@ case ${generic_target} in
   ppc-*-winnt*)                                fmt=coff em=pe ;;
   ppc-*-aix5.[01])                     fmt=coff em=aix5 ;;
   ppc-*-aix[5-9].*)                    fmt=coff em=aix5 ;;
-  ppc-*-aix*)                          fmt=coff ;;
+  ppc-*-aix*)                          fmt=coff em=aix ;;
   ppc-*-beos*)                         fmt=coff ;;
   ppc-*-*n*bsd* | ppc-*-elf*)          fmt=elf ;;
   ppc-*-eabi* | ppc-*-sysv4*)          fmt=elf ;;
@@ -454,6 +458,8 @@ case ${generic_target} in
   vax-*-netbsdelf*)                    fmt=elf em=nbsd ;;
   vax-*-linux-*)                       fmt=elf em=linux ;;
 
+  visium-*-elf)                                fmt=elf ;;
+
   xstormy16-*-*)                       fmt=elf ;;
   
   xgate-*-*)                           fmt=elf ;;
@@ -465,6 +471,7 @@ case ${generic_target} in
   z8k-*-coff | z8k-*-sim)              fmt=coff ;;
 
   *-*-aout | *-*-scout)                        fmt=aout ;;
+  *-*-cloudabi*)                       fmt=elf ;;
   *-*-dragonfly*)                      fmt=elf em=dragonfly ;;
   *-*-freebsd* | *-*-kfreebsd*-gnu)    fmt=elf em=freebsd ;;
   *-*-bsd*)                            fmt=aout em=sun3 ;;
@@ -479,7 +486,7 @@ case ${generic_target} in
 esac
 
 case ${cpu_type} in
-  aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
+  aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | sparc | z80 | z8k)
     bfd_gas=yes
     ;;
 esac
This page took 0.027229 seconds and 4 git commands to generate.