]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/configure.tgt
Add support for Score target.
[thirdparty/binutils-gdb.git] / gas / configure.tgt
index edcfc34db8c1e22b9e21f421f2448ac65c4e506d..e7c7e23e5ade2a6ebb539ec2a728642353772ac5 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 ;;
@@ -315,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 ;;