Adding new samples s390x/s390-unknown-linux-gnu

- s390x/s390 is allowed to pair with other vendor name.
- new samples are being added to use this flexibility.

- Fix space issue
This commit is contained in:
Pradipta Ghosh 2020-08-21 02:24:34 -07:00
parent 5659366bf6
commit ebae86dea7
8 changed files with 22 additions and 9 deletions

View File

@ -1,6 +1,7 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_ARCH_S390=y
CT_TARGET_VENDOR="ibm"
CT_KERNEL_LINUX=y
CT_BINUTILS_PLUGINS=y
CT_CC_LANG_CXX=y

View File

@ -0,0 +1,6 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_ARCH_S390=y
CT_KERNEL_LINUX=y
CT_BINUTILS_PLUGINS=y
CT_CC_LANG_CXX=y

View File

@ -0,0 +1,3 @@
reporter_name="Pradipta Ghosh"
reporter_url="https://github.com/pradghos/crosstool-ng"
reporter_comment="reference samples s390-ibm-linux-gnu"

View File

@ -1,6 +1,7 @@
CT_CONFIG_VERSION="3"
CT_ARCH_S390=y
CT_ARCH_64=y
CT_TARGET_VENDOR="ibm"
CT_KERNEL_LINUX=y
CT_BINUTILS_PLUGINS=y
CT_CC_LANG_CXX=y

View File

@ -0,0 +1,6 @@
CT_CONFIG_VERSION="3"
CT_ARCH_S390=y
CT_ARCH_64=y
CT_KERNEL_LINUX=y
CT_BINUTILS_PLUGINS=y
CT_CC_LANG_CXX=y

View File

@ -0,0 +1,3 @@
reporter_name="Pradipta Ghosh"
reporter_url="https://github.com/pradghos/crosstool-ng"
reporter_comment="reference samples s390x-ibm-linux-gnu"

View File

@ -1041,7 +1041,7 @@ EOF
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
sh64*:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"

9
scripts/config.sub vendored
View File

@ -1139,14 +1139,6 @@ case $cpu-$vendor in
cpu=nsx
vendor=tandem
;;
s390-*)
cpu=s390
vendor=ibm
;;
s390x-*)
cpu=s390x
vendor=ibm
;;
tile*-*)
os=${os:-linux-gnu}
;;
@ -1238,6 +1230,7 @@ case $cpu-$vendor in
| sparclite \
| sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
| spu \
| s390 | s390x \
| tahoe \
| tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
| tron \