aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1994-11-17 20:12:13 +0000
committerDoug Evans <dje@gnu.org>1994-11-17 20:12:13 +0000
commit13d50804a069f42c12e54d56f523ee5cad386bd1 (patch)
tree51b5d6c9fabc710c71378b56f5d402fef889f23a
parentb58f0de150c80b33b5d07feb1fac1cfb04061b4d (diff)
downloadgcc-13d50804a069f42c12e54d56f523ee5cad386bd1.zip
gcc-13d50804a069f42c12e54d56f523ee5cad386bd1.tar.gz
gcc-13d50804a069f42c12e54d56f523ee5cad386bd1.tar.bz2
(sparc): Recognize as a cpu.
(ecoff*, vsta, udi): Recognize as os's. (udi29k): New alias. From-SVN: r8484
-rwxr-xr-xgcc/config.sub21
1 files changed, 18 insertions, 3 deletions
diff --git a/gcc/config.sub b/gcc/config.sub
index 5259113..e5822d9 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -42,6 +42,15 @@
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
+if [ x$1 = x ]
+then
+ echo Configuration name missing. 1>&2
+ echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
+ echo "or $0 ALIAS" 1>&2
+ echo where ALIAS is a recognized configuration type. 1>&2
+ exit 1
+fi
+
# First pass through any local machine types.
case $1 in
*local*)
@@ -123,7 +132,8 @@ case $basic_machine in
| tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
| alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
| powerpc | sparc64 | 1750a | dsp16xx | mips64 | mipsel \
- | pdp11 | mips64el | mips64orion | mips64orionel )
+ | pdp11 | mips64el | mips64orion | mips64orionel \
+ | sparc)
basic_machine=$basic_machine-unknown
;;
# Object if more than one company name word.
@@ -139,7 +149,8 @@ case $basic_machine in
| hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
| pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
| pdp11-* | sh-* | powerpc-* | sparc64-* | mips64-* | mipsel-* \
- | mips64el-* | mips64orion-* | mips64orionel-* )
+ | mips64el-* | mips64orion-* | mips64orionel-* \
+ | sparc-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
@@ -478,6 +489,10 @@ case $basic_machine in
tower | tower-32)
basic_machine=m68k-ncr
;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
ultra3)
basic_machine=a29k-nyu
os=-sym1
@@ -587,7 +602,7 @@ case $os in
| -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
- | -ptx* | -coff* | -winnt* | -domain* )
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi)
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`