aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2001-02-12 23:47:41 +0000
committerNick Clifton <nickc@gcc.gnu.org>2001-02-12 23:47:41 +0000
commitc4880c993684baf5720f3a63912e736c848d278f (patch)
treeb1218e4f3c675d9fcb0d555675382fbaaeba8738
parentfa49fd0f8a6fdcfd29976f51104c1bd59da0ea22 (diff)
downloadgcc-c4880c993684baf5720f3a63912e736c848d278f.zip
gcc-c4880c993684baf5720f3a63912e736c848d278f.tar.gz
gcc-c4880c993684baf5720f3a63912e736c848d278f.tar.bz2
Add config suport for s390
From-SVN: r39612
-rw-r--r--ChangeLog5
-rwxr-xr-xconfig.guess2
-rwxr-xr-xconfig.sub6
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 242850c..f49ede0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config.guess: Add linux target for S/390.
+ * config.sub: Likewise.
+
2001-02-08 Chandrakala Chavva <cchavva@redhat.com>
* configure.in: for *-chorusos, don't config target-newlib and
diff --git a/config.guess b/config.guess
index 93e03c6..4a4c2a4 100755
--- a/config.guess
+++ b/config.guess
@@ -857,6 +857,8 @@ EOF
rm -f $dummy.c $dummy
elif test "${UNAME_MACHINE}" = "s390"; then
echo s390-ibm-linux && exit 0
+ elif test "${UNAME_MACHINE}" = "s390x"; then
+ echo s390x-ibm-linux && exit 0
elif test "${UNAME_MACHINE}" = "x86_64"; then
echo x86_64-unknown-linux-gnu && exit 0
else
diff --git a/config.sub b/config.sub
index af79d70..edfef57 100755
--- a/config.sub
+++ b/config.sub
@@ -211,7 +211,7 @@ esac
case $basic_machine in
# Recognize the basic CPU types without company name.
# Some are omitted here because they have special meanings below.
- tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+ tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm | xscale \
| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
| 580 | i960 | h8300 \
| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
@@ -267,7 +267,7 @@ case $basic_machine in
| mips64el-* | mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
| mipstx39-* | mipstx39el-* | mcore-* \
- | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
+ | f301-* | armv*-* | s390-* | s390x-* | sv1-* | t3e-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
@@ -916,7 +916,7 @@ case $basic_machine in
basic_machine=we32k-att
;;
sh3 | sh4)
- base_machine=sh-unknown
+ basic_machine=sh-unknown
;;
sparc | sparcv9)
basic_machine=sparc-sun