]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/configure.tgt
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / configure.tgt
index 05603cc9b20b006a9bb1fb35e7cb01a763b10efb..054f2b8b4a839089862603f6d7a3c2d65376d8cd 100644 (file)
@@ -44,6 +44,7 @@ case ${cpu} in
   ia64)                        cpu_type=ia64 ;;
   ip2k)                        cpu_type=ip2k endian=big ;; 
   iq2000)              cpu_type=iq2000 endian=big ;; 
+  lm32)                        cpu_type=lm32 ;;
   m32c)                        cpu_type=m32c endian=big ;;
   m32r)                        cpu_type=m32r endian=big ;;
   m32rle)              cpu_type=m32r endian=little ;;
@@ -54,6 +55,7 @@ case ${cpu} in
   m683??)              cpu_type=m68k ;;
   maxq)                        cpu_type=maxq ;;
   mep-*-elf)           cpu_type=mep endian=big ;;
+  microblaze*)         cpu_type=microblaze ;;
   mips*el)             cpu_type=mips endian=little ;;
   mips*)               cpu_type=mips endian=big ;;
   mt)                   cpu_type=mt endian=big ;;
@@ -120,13 +122,18 @@ case ${generic_target} in
   arm-*-*n*bsd*)                       fmt=aout em=nbsd ;;
   arm-*-nto*)                          fmt=elf ;;
   arm-epoc-pe | thumb-epoc-pe)         fmt=coff em=epoc-pe ;;
-  arm-wince-pe | arm-*-wince)          fmt=coff em=wince-pe ;;
+  arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
+                                       fmt=coff em=wince-pe ;;
   arm-*-pe | thumb-*-pe)               fmt=coff em=pe ;;
   arm-*-riscix*)                       fmt=aout em=riscix ;;
 
   avr-*-*)                             fmt=elf bfd_gas=yes ;;
-  bfin-*-*)                            fmt=elf bfd_gas=yes ;;
+
+  bfin-*-linux-uclibc)                 fmt=fdpicelf em=linux ;;
+  bfin-*-uclinux*)                     fmt=elf em=linux ;;
+  bfin-*-rtems*)                       fmt=elf ;;
   bfin-*elf)                           fmt=elf ;;
+
   cr16-*-elf*)                         fmt=elf ;;
 
   cris-*-linux-* | crisv32-*-linux-*)
@@ -143,6 +150,9 @@ case ${generic_target} in
   frv-*-*linux*)                       fmt=elf em=linux;;
   frv-*-*)                             fmt=elf ;;
 
+  moxie-*-uclinux)                      fmt=elf em=linux;;
+  moxie-*-*)                            fmt=elf ;;
+
   hppa-*-linux*)
     case ${cpu} in
       hppa*64*)                                fmt=elf em=hppalinux64 ;;
@@ -194,7 +204,7 @@ case ${generic_target} in
   i386-*-linux-*)                      fmt=elf em=linux ;;
   i386-*-lynxos*)                      fmt=elf em=lynx ;;
   i386-*-sysv[45]*)                    fmt=elf ;;
-  i386-*-solaris*)                     fmt=elf ;;
+  i386-*-solaris*)                     fmt=elf em=solaris ;;
   i386-*-freebsdaout*)                 fmt=aout em=386bsd ;;
   i386-*-freebsd[12].*)                        fmt=aout em=386bsd ;;
   i386-*-freebsd[12])                  fmt=aout em=386bsd ;;
@@ -225,12 +235,14 @@ case ${generic_target} in
   i386-*-*nt*)                         fmt=coff em=pe ;;
   i386-*-chaos)                                fmt=elf ;;
   i386-*-rdos*)                                fmt=elf ;;
+  i386-*-darwin*)                      fmt=macho ;;
 
   i860-*-*)                            fmt=elf endian=little ;;
 
   i960-*-elf*)                         fmt=elf ;;
 
   ia64-*-elf*)                         fmt=elf ;;
+  ia64-*-*vms*)                                fmt=elf em=vms ;;
   ia64-*-aix*)                         fmt=elf em=ia64aix ;;
   ia64-*-linux-*)                      fmt=elf em=linux ;;
   ia64-*-hpux*)                                fmt=elf em=hpux ;;
@@ -240,9 +252,11 @@ case ${generic_target} in
 
   iq2000-*-elf)                        fmt=elf ;;
 
-  m32c-*-elf)                          fmt=elf ;;
+  lm32-*-*)                            fmt=elf ;;
+
+  m32c-*-elf | m32c-*-rtems*)          fmt=elf ;;
 
-  m32r-*-elf*)                         fmt=elf ;;
+  m32r-*-elf* | m32r-*-rtems*)         fmt=elf ;;
   m32r-*-linux*)                       fmt=elf em=linux;;
 
   m68hc11-*-* | m6811-*-*)             fmt=elf ;;
@@ -266,6 +280,8 @@ case ${generic_target} in
   mcore-*-elf)                         fmt=elf ;;
   mcore-*-pe)                          fmt=coff em=pe bfd_gas=yes ;;
 
+  microblaze-*-*)                      fmt=elf ;;
+
   # don't change em like *-*-bsd does
   mips-sony-bsd*)                      fmt=ecoff ;;
   mips-*-ultrix*)                      fmt=ecoff endian=little ;;
@@ -312,13 +328,13 @@ case ${generic_target} in
   ppc-*-pe | ppc-*-cygwin*)            fmt=coff em=pe ;;
   ppc-*-winnt*)                                fmt=coff em=pe ;;
   ppc-*-aix5.[01])                     fmt=coff em=aix5 ;;
-  ppc-*-aix5.*)                                fmt=coff em=aix5 ;;
+  ppc-*-aix[5-9].*)                    fmt=coff em=aix5 ;;
   ppc-*-aix*)                          fmt=coff ;;
   ppc-*-beos*)                         fmt=coff ;;
   ppc-*-*n*bsd* | ppc-*-elf*)          fmt=elf ;;
   ppc-*-eabi* | ppc-*-sysv4*)          fmt=elf ;;
   ppc-*-linux-*)                       fmt=elf em=linux ;;
-  ppc-*-solaris*)                      fmt=elf ;;
+  ppc-*-solaris*)                      fmt=elf em=solaris ;;
   ppc-*-rtems*)                                fmt=elf ;;
   ppc-*-macos*)                                fmt=coff em=macos ;;
   ppc-*-nto*)                          fmt=elf ;;
@@ -337,7 +353,11 @@ case ${generic_target} in
     esac ;;
   sh5*-*-netbsd*)                      fmt=elf em=nbsd ;;
   sh64*-*-netbsd*)                     fmt=elf em=nbsd ;;
-  sh*-*-netbsdelf*)                    fmt=elf em=nbsd ;;
+  sh*-*-netbsdelf*)                    fmt=elf em=nbsd
+    case ${cpu} in
+      sh*l*)   endian=little ;;
+      *)       endian=big ;;
+    esac ;;
   sh*-*-symbianelf*)                   fmt=elf endian=little ;;
   sh-*-elf* | sh-*-uclinux* | sh[12]-*-uclinux*)       fmt=elf ;;
   sh-*-coff*)                          fmt=coff ;;
@@ -358,7 +378,7 @@ case ${generic_target} in
   sparc-fujitsu-none)                  fmt=aout ;;
   sparc-*-elf)                         fmt=elf ;;
   sparc-*-sysv4*)                      fmt=elf ;;
-  sparc-*-solaris*)                    fmt=elf ;;
+  sparc-*-solaris*)                    fmt=elf em=solaris ;;
   sparc-*-netbsdelf*)                  fmt=elf em=nbsd ;;
   sparc-*-netbsd*)
     case ${cpu} in
@@ -392,32 +412,32 @@ case ${generic_target} in
 
   xstormy16-*-*)                       fmt=elf ;;
 
-  xtensa-*-*)                          fmt=elf ;;
+  xtensa*-*-*)                         fmt=elf ;;
 
   z80-*-coff)                          fmt=coff ;;
 
   z8k-*-coff | z8k-*-sim)              fmt=coff ;;
 
   *-*-aout | *-*-scout)                        fmt=aout ;;
-  *-*-freebsd* | *-*-kfreebsd*-gnu | *-*-dragonfly*)
-                                       fmt=elf em=freebsd ;;
+  *-*-freebsd* | *-*-kfreebsd*-gnu)    fmt=elf em=freebsd ;;
   *-*-bsd*)                            fmt=aout em=sun3 ;;
   *-*-generic)                         fmt=generic ;;
   *-*-xray | *-*-hms)                  fmt=coff ;;
   *-*-sim)                             fmt=coff ;;
-  *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf ;;
+  *-*-elf | *-*-sysv4*)                        fmt=elf ;;
+  *-*-solaris*)                                fmt=elf em=solaris ;;
   *-*-aros*)                           fmt=elf em=linux ;;
   *-*-vxworks* | *-*-windiss)          fmt=elf em=vxworks ;;
   *-*-netware)                         fmt=elf em=netware ;;
 esac
 
 case ${cpu_type} in
-  alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
+  alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
     bfd_gas=yes
     ;;
 esac
 case ${fmt} in
-  elf | ecoff | multi | som)
+  elf | ecoff | fdpicelf | multi | som)
     bfd_gas=yes
     ;;
 esac