Add support for Score target.
[external/binutils.git] / gas / configure.tgt
index a500a11..e7c7e23 100644 (file)
@@ -62,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 ;;
@@ -266,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 ;;
@@ -314,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 ;;
@@ -335,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 ;;