aboutsummaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorBill Cox <bill@cygnus>1994-05-25 16:23:13 +0000
committerBill Cox <bill@cygnus>1994-05-25 16:23:13 +0000
commitb28575936e740d19c5502e5e4c6e1368cc969f61 (patch)
tree448248e31819a392c7a31feaaee5ac504edb5700 /config.sub
parent8eb7b7c354b64bd3fe364f5cc7465465c4fb6c9f (diff)
downloadgdb-b28575936e740d19c5502e5e4c6e1368cc969f61.zip
gdb-b28575936e740d19c5502e5e4c6e1368cc969f61.tar.gz
gdb-b28575936e740d19c5502e5e4c6e1368cc969f61.tar.bz2
* config.sub: Strip off patch suffix so rtl is recognized
as a sunos4.1.3 machine, even though it's been patched.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub11
1 files changed, 5 insertions, 6 deletions
diff --git a/config.sub b/config.sub
index ebf934a..e955fe3 100755
--- a/config.sub
+++ b/config.sub
@@ -120,7 +120,7 @@ case $os in
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
- -lynx)
+ -lynx*)
os=-lynxos
;;
-os9k)
@@ -367,9 +367,6 @@ case $basic_machine in
basic_machine=z8k-zilog
os=-sim
;;
- z8k) # CYGNUS LOCAL
- basic_machine=z8k-zilog
- ;;
sun3)
basic_machine=m68k-sun
;;
@@ -624,11 +621,9 @@ case $basic_machine in
;;
sparclitefrw) # CYGNUS LOCAL
basic_machine=sparclitefrw-fujitsu
- os=-none
;;
sparclitefrwcompat) # CYGNUS LOCAL
basic_machine=sparclitefrwcompat-fujitsu
- os=-none
;;
adobe68k) # CYGNUS LOCAL
basic_machine=m68010-adobe
@@ -910,6 +905,10 @@ fi
# manufacturer. We pick the logical manufacturer.
vendor=unknown
case $basic_machine in
+ sparc-sun)
+ # Strip off Sun's patch-release suffix
+ os=`echo $os | sed 's/_U1$//'`
+ ;;
*-unknown)
case $os in
-riscix*)