aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-10 00:58:38 +0000
committerNick Clifton <nickc@redhat.com>2001-02-10 00:58:38 +0000
commita85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1 (patch)
treed46823b360b1d614fb1c65de41cdc778a68984ff /gas/configure.in
parent356d255deb0cb49d4dade90addbb7bdcde0d7e36 (diff)
downloadgdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.zip
gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.gz
gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.bz2
Add s390 support
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index ad46b8f..c89a2df 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -139,6 +139,8 @@ changequote([,])dnl
powerpcle*) cpu_type=ppc endian=little ;;
powerpc*) cpu_type=ppc endian=big ;;
rs6000*) cpu_type=ppc ;;
+ s390x*) cpu_type=s390 arch=s390x ;;
+ s390*) cpu_type=s390 arch=s390 ;;
sparclite*) cpu_type=sparc arch=sparclite ;;
sparclet*) cpu_type=sparc arch=sparclet ;;
sparc64*) cpu_type=sparc arch=v9-64 ;;
@@ -377,6 +379,9 @@ changequote([,])dnl
ppc-*-netware*) fmt=elf em=ppcnw ;;
ppc-*-vxworks*) fmt=elf ;;
+ s390x-*-linux-gnu*) fmt=elf em=linux ;;
+ s390-*-linux-gnu*) fmt=elf em=linux ;;
+
sh-*-linux*) fmt=elf em=linux ;;
sh-*-elf*) fmt=elf ;;
sh-*-coff*) fmt=coff ;;
@@ -523,6 +528,12 @@ changequote([,])dnl
esac
;;
+ s390)
+ if test $this_target = $target ; then
+ AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
+ fi
+ ;;
+
mips)
echo ${extra_objects} | grep -s "itbl-parse.o"
if test $? -ne 0 ; then