2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
[deliverable/binutils-gdb.git] / gas / configure.tgt
index e7c7e23e5ade2a6ebb539ec2a728642353772ac5..1991072f048b5fbf55300fd66cd6ef5639cef0a9 100644 (file)
@@ -35,13 +35,16 @@ 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 ;;
   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 ;; 
+  lm32)                        cpu_type=lm32 ;;
   m32c)                        cpu_type=m32c endian=big ;;
   m32r)                        cpu_type=m32r endian=big ;;
   m32rle)              cpu_type=m32r endian=little ;;
@@ -51,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 ;;
@@ -79,7 +83,7 @@ case ${cpu} in
   strongarm*b)         cpu_type=arm endian=big ;;
   strongarm*)          cpu_type=arm endian=little ;;
   v850*)               cpu_type=v850 ;;
-  x86_64             cpu_type=i386 arch=x86_64;;
+  x86_64*)             cpu_type=i386 arch=x86_64;;
   xscale*be|xscale*b)  cpu_type=arm endian=big ;;
   xscale*)             cpu_type=arm endian=little ;;
   xtensa*)             cpu_type=xtensa arch=xtensa ;;
@@ -111,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 ;;
@@ -138,6 +149,8 @@ case ${generic_target} in
   frv-*-*linux*)                       fmt=elf em=linux;;
   frv-*-*)                             fmt=elf ;;
 
+  moxie-*-*)                             fmt=elf ;;
+
   hppa-*-linux*)
     case ${cpu} in
       hppa*64*)                                fmt=elf em=hppalinux64 ;;
@@ -189,11 +202,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 ;;
@@ -211,7 +224,11 @@ case ${generic_target} in
   i386-*-pe)                           fmt=coff em=pe ;;
   i386-*-cygwin*)                      fmt=coff em=pe ;;
   i386-*-interix*)                     fmt=coff em=interix ;;
-  i386-*-mingw32*)                     fmt=coff em=pe ;;
+  i386-*-mingw*)
+    case ${cpu} in
+      x86_64*)                         fmt=coff em=pep ;;
+      i*)                              fmt=coff em=pe ;;
+    esac ;;
   i386-*-nto-qnx*)                     fmt=elf ;;
   i386-*-*nt*)                         fmt=coff em=pe ;;
   i386-*-chaos)                                fmt=elf ;;
@@ -222,6 +239,7 @@ case ${generic_target} in
   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 ;;
@@ -231,9 +249,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 ;;
@@ -252,6 +272,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 ;;
 
@@ -301,13 +323,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 ;;
@@ -328,7 +350,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 ;;
@@ -347,7 +369,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
@@ -362,6 +384,8 @@ case ${generic_target} in
     esac ;;
   sparc-*-openbsd*)                    fmt=elf em=nbsd ;;
 
+  spu-*-elf)                           fmt=elf ;;
+
   tic30-*-*aout*)                      fmt=aout bfd_gas=yes ;;
   tic30-*-*coff*)                      fmt=coff bfd_gas=yes ;;
   tic4x-*-* | c4x-*-*)                 fmt=coff bfd_gas=yes ;;
@@ -379,7 +403,7 @@ case ${generic_target} in
 
   xstormy16-*-*)                       fmt=elf ;;
 
-  xtensa-*-*)                          fmt=elf ;;
+  xtensa*-*-*)                         fmt=elf ;;
 
   z80-*-coff)                          fmt=coff ;;
 
@@ -391,7 +415,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 ;;
@@ -403,7 +428,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.039721 seconds and 4 git commands to generate.