[PATCH] Add s390 to config.{sub|guess}
Nick Clifton
nickc@redhat.com
Mon Feb 12 11:55:00 GMT 2001
Hi Ben,
My I have permission to apply the following patch to config.sub and
config.guess ? It adds support for the s390 target, which was just
recently contributed to binutils.
Cheers
Nick
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config.guess: Add linux target for S/390.
* config.sub: Likewise.
Index: config.guess
===================================================================
RCS file: /cvs/cvsfiles/devo/config.guess,v
retrieving revision 1.143
diff -p -r1.143 config.guess
*** config.guess 2001/01/24 20:18:47 1.143
--- config.guess 2001/02/11 03:49:52
*************** EOF
*** 862,867 ****
--- 862,869 ----
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
Index: config.sub
===================================================================
RCS file: /cvs/cvsfiles/devo/config.sub,v
retrieving revision 1.345
diff -p -r1.345 config.sub
*** config.sub 2001/01/24 20:18:47 1.345
--- config.sub 2001/02/11 03:49:52
*************** case $basic_machine in
*** 455,461 ****
| mips64el-* | mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
| mipstx39-* | mipstx39el-* | mcore-* \
! | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
--- 457,465 ----
| mips64el-* | mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
| mipstx39-* | mipstx39el-* | mcore-* \
! | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
More information about the Gcc-patches
mailing list