Add support for Score target.
[external/binutils.git] / gas / configure.tgt
index dd30a01..e7c7e23 100644 (file)
@@ -33,6 +33,7 @@ case ${cpu} in
   am33_2.0)            cpu_type=mn10300 endian=little ;;
   arm*be|arm*b)                cpu_type=arm endian=big ;;
   arm*)                        cpu_type=arm endian=little ;;
+  bfin*)               cpu_type=bfin endian=little ;;
   c4x*)                        cpu_type=tic4x ;;
   crisv32)             cpu_type=cris arch=crisv32 ;;
   crx*)                        cpu_type=crx endian=little ;;
@@ -52,7 +53,7 @@ case ${cpu} in
   maxq)                        cpu_type=maxq ;;
   mips*el)             cpu_type=mips endian=little ;;
   mips*)               cpu_type=mips endian=big ;;
-  ms1)                  cpu_type=ms1 endian=big ;;
+  mt)                   cpu_type=mt endian=big ;;
   or32*)               cpu_type=or32 endian=big ;;
   pjl*)                        cpu_type=pj endian=little ;;
   pj*)                 cpu_type=pj endian=big ;;
@@ -61,6 +62,8 @@ case ${cpu} in
   rs6000*)             cpu_type=ppc ;;
   s390x*)              cpu_type=s390 arch=s390x ;;
   s390*)               cpu_type=s390 arch=s390 ;;
+  score*l)              cpu_type=score endian=little ;;
+  score*)               cpu_type=score endian=big ;;
   sh5le*)              cpu_type=sh64 endian=little ;;
   sh5*)                        cpu_type=sh64 endian=big ;;
   sh64le*)             cpu_type=sh64 endian=little ;;
@@ -106,7 +109,7 @@ case ${generic_target} in
   arm-*-kaos*)                         fmt=elf ;;
   arm-*-conix*)                                fmt=elf ;;
   arm-*-linux*aout*)                   fmt=aout em=linux ;;
-  arm-*-linux-gnueabi*)                        fmt=elf  em=armlinuxeabi ;;
+  arm-*-linux-*eabi*)                  fmt=elf  em=armlinuxeabi ;;
   arm-*-linux-*)                       fmt=elf  em=linux ;;
   arm-*-uclinux*)                      fmt=elf  em=linux ;;
   arm-*-netbsdelf*)                    fmt=elf  em=nbsd ;;
@@ -117,7 +120,9 @@ case ${generic_target} in
   arm-*-pe | thumb-*-pe)               fmt=coff em=pe ;;
   arm-*-riscix*)                       fmt=aout em=riscix ;;
 
-  avr-*-*)                             fmt=elf ;;
+  avr-*-*)                             fmt=elf bfd_gas=yes ;;
+  bfin-*-*)                            fmt=elf bfd_gas=yes ;;
+  bfin-*elf)                           fmt=elf ;;
 
   cris-*-linux-* | crisv32-*-linux-*)
                                        fmt=multi em=linux ;;
@@ -199,7 +204,7 @@ case ${generic_target} in
   i386-*-msdosdjgpp* \
   | i386-*-go32*)                      fmt=coff em=go32 ;;
   i386-*-rtems*)                       fmt=elf ;;
-  i386-*-gnu*)                         fmt=elf ;;
+  i386-*-gnu*)                         fmt=elf em=gnu ;;
   i386-*-mach*)                                fmt=aout em=mach ;;
   i386-*-msdos*)                       fmt=aout ;;
   i386-*-moss*)                                fmt=elf ;;
@@ -210,6 +215,7 @@ case ${generic_target} in
   i386-*-nto-qnx*)                     fmt=elf ;;
   i386-*-*nt*)                         fmt=coff em=pe ;;
   i386-*-chaos)                                fmt=elf ;;
+  i386-*-rdos*)                                fmt=elf ;;
 
   i860-*-*)                            fmt=elf endian=little ;;
 
@@ -262,9 +268,10 @@ case ${generic_target} in
   mips-*-riscos*)                      fmt=ecoff ;;
   mips*-*-linux*)                      fmt=elf em=tmips ;;
   mips-*-sysv4*MP* | mips-*-gnu*)      fmt=elf em=tmips ;;
+  mips*-sde-elf*)                      fmt=elf em=tmips ;;
   mips-*-sysv*)                                fmt=ecoff ;;
   mips-*-elf* | mips-*-rtems*)         fmt=elf ;;
-  mips-*-netbsd*)                      fmt=elf ;;
+  mips-*-netbsd*)                      fmt=elf em=tmips ;;
   mips-*-openbsd*)                     fmt=elf em=tmips ;;
 
   mmix-*-*)                            fmt=elf ;;
@@ -275,7 +282,7 @@ case ${generic_target} in
   mn10300-*-linux*)                    fmt=elf em=linux ;;
   mn10300-*-*)                         fmt=elf ;;
 
-  ms1-*-elf)                           fmt=elf bfd_gas=yes ;;
+  mt-*-elf)                            fmt=elf bfd_gas=yes ;;
 
   msp430-*-*)                          fmt=elf ;;
 
@@ -310,6 +317,8 @@ case ${generic_target} in
   s390-*-linux-*)                      fmt=elf em=linux ;;
   s390-*-tpf*)                         fmt=elf ;;
 
+  score-*-elf)                          fmt=elf ;;
+
   sh*-*-linux*)                                fmt=elf em=linux
     case ${cpu} in
       sh*eb)   endian=big ;;
@@ -331,7 +340,7 @@ case ${generic_target} in
 
   sparc-*-rtems*)                      fmt=elf ;;
   sparc-*-sunos4*)                     fmt=aout em=sun3 ;;
-  sparc-*-aout | sparc*-*-vxworks*)    fmt=aout em=sparcaout ;;
+  sparc-*-aout)                                fmt=aout em=sparcaout ;;
   sparc-*-coff)                                fmt=coff ;;
   sparc-*-linux*aout*)                 fmt=aout em=linux ;;
   sparc-*-linux-*)                     fmt=elf em=linux ;;
@@ -372,6 +381,8 @@ case ${generic_target} in
 
   xtensa-*-*)                          fmt=elf ;;
 
+  z80-*-coff)                          fmt=coff ;;
+
   z8k-*-coff | z8k-*-sim)              fmt=coff ;;
 
   *-*-aout | *-*-scout)                        fmt=aout ;;
@@ -387,7 +398,7 @@ case ${generic_target} in
 esac
 
 case ${cpu_type} in
-  alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z8k)
+  alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
     bfd_gas=yes
     ;;
 esac