2009-08-05 Chao-ying Fu <fu@mips.com>
[deliverable/binutils-gdb.git] / gas / configure.tgt
index 8650dac78008b66e8cdf7c9220d506c06943bf34..1539706882080071745fb1d7cc6aa655384c490d 100644 (file)
@@ -35,6 +35,7 @@ case ${cpu} in
   arm*)                        cpu_type=arm endian=little ;;
   bfin*)               cpu_type=bfin endian=little ;;
   c4x*)                        cpu_type=tic4x ;;
+  cr16*)               cpu_type=cr16 endian=little ;;
   crisv32)             cpu_type=cris arch=crisv32 ;;
   crx*)                        cpu_type=crx endian=little ;;
   fido)                        cpu_type=m68k ;;
@@ -43,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 ;;
@@ -52,6 +54,7 @@ case ${cpu} in
   m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
   m683??)              cpu_type=m68k ;;
   maxq)                        cpu_type=maxq ;;
+  mep-*-elf)           cpu_type=mep endian=big ;;
   mips*el)             cpu_type=mips endian=little ;;
   mips*)               cpu_type=mips endian=big ;;
   mt)                   cpu_type=mt endian=big ;;
@@ -112,19 +115,26 @@ case ${generic_target} in
   arm-*-linux*aout*)                   fmt=aout em=linux ;;
   arm-*-linux-*eabi*)                  fmt=elf  em=armlinuxeabi ;;
   arm-*-linux-*)                       fmt=elf  em=linux ;;
+  arm-*-uclinux*eabi*)                 fmt=elf  em=armlinuxeabi ;;
   arm-*-uclinux*)                      fmt=elf  em=linux ;;
   arm-*-netbsdelf*)                    fmt=elf  em=nbsd ;;
   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-*)
                                        fmt=multi em=linux ;;
   cris-*-* | crisv32-*-*)              fmt=multi ;;
@@ -139,6 +149,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 ;;
@@ -190,11 +203,11 @@ 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 ;;
-  i386-*-freebsd* | i386-*-kfreebsd*-gnu)
+  i386-*-freebsd* | i386-*-kfreebsd*-gnu | i386-*-dragonfly*)
                                        fmt=elf em=freebsd ;;
   i386-*-sysv*)                                fmt=coff ;;
   i386-*-sco3.2v5*coff)                        fmt=coff ;;
@@ -221,12 +234,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 ;;
@@ -236,9 +251,11 @@ case ${generic_target} in
 
   iq2000-*-elf)                        fmt=elf ;;
 
-  m32c-*-elf)                          fmt=elf ;;
+  lm32-*-*)                            fmt=elf ;;
 
-  m32r-*-elf*)                         fmt=elf ;;
+  m32c-*-elf | m32c-*-rtems*)          fmt=elf ;;
+
+  m32r-*-elf* | m32r-*-rtems*)         fmt=elf ;;
   m32r-*-linux*)                       fmt=elf em=linux;;
 
   m68hc11-*-* | m6811-*-*)             fmt=elf ;;
@@ -257,6 +274,8 @@ case ${generic_target} in
 
   maxq-*-coff)                         fmt=coff bfd_gas=yes ;;
 
+  mep-*-elf)                           fmt=elf ;;
+
   mcore-*-elf)                         fmt=elf ;;
   mcore-*-pe)                          fmt=coff em=pe bfd_gas=yes ;;
 
@@ -306,13 +325,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 ;;
@@ -333,7 +352,7 @@ case ${generic_target} in
   sh64*-*-netbsd*)                     fmt=elf em=nbsd ;;
   sh*-*-netbsdelf*)                    fmt=elf em=nbsd ;;
   sh*-*-symbianelf*)                   fmt=elf endian=little ;;
-  sh-*-elf*)                           fmt=elf ;;
+  sh-*-elf* | sh-*-uclinux* | sh[12]-*-uclinux*)       fmt=elf ;;
   sh-*-coff*)                          fmt=coff ;;
   sh-*-nto*)                           fmt=elf ;;
   sh-*-pe*)                            fmt=coff em=pe bfd_gas=yes endian=little ;;
@@ -352,7 +371,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
@@ -386,7 +405,7 @@ case ${generic_target} in
 
   xstormy16-*-*)                       fmt=elf ;;
 
-  xtensa-*-*)                          fmt=elf ;;
+  xtensa*-*-*)                         fmt=elf ;;
 
   z80-*-coff)                          fmt=coff ;;
 
@@ -398,7 +417,8 @@ case ${generic_target} in
   *-*-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 ;;
@@ -410,7 +430,7 @@ case ${cpu_type} in
     ;;
 esac
 case ${fmt} in
-  elf | ecoff | multi | som)
+  elf | ecoff | fdpicelf | multi | som)
     bfd_gas=yes
     ;;
 esac
This page took 0.248653 seconds and 4 git commands to generate.