aboutsummaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-04-27 01:48:05 +0000
committerSteve Chamberlain <sac@cygnus>1993-04-27 01:48:05 +0000
commit984b27cbc351a624aaf859c3b986a73391a9039e (patch)
treecd7f9198e40a43cd126103531369cc28ab7e3c45 /config.sub
parent6f5757042336145f2b9aa6acff5d549dfe5783d4 (diff)
downloadgdb-984b27cbc351a624aaf859c3b986a73391a9039e.zip
gdb-984b27cbc351a624aaf859c3b986a73391a9039e.tar.gz
gdb-984b27cbc351a624aaf859c3b986a73391a9039e.tar.bz2
Support for SH.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub24
1 files changed, 20 insertions, 4 deletions
diff --git a/config.sub b/config.sub
index ae98ea7..a5713e0 100755
--- a/config.sub
+++ b/config.sub
@@ -73,8 +73,7 @@ case $os in
-unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | \
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -sim) # CYGNUS LOCAL
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp)
os=
basic_machine=$1
;;
@@ -118,7 +117,7 @@ case $basic_machine in
| none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
| hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
| pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
- | m680[01234]0-* | m683?2-* | z8k-*) # CYGNUS LOCAL
+ | m680[01234]0-* | m683?2-* | z8k-* | h8500-* | sh-*) # CYGNUS LOCAL
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
@@ -131,6 +130,7 @@ case $basic_machine in
;;
# end-sanitize-v9
+
dpx20 | dpx20-*) # CYGNUS LOCAL
basic_machine=rs6000-bull
os=-bosx
@@ -290,9 +290,12 @@ case $basic_machine in
os=-solaris2
;;
z8ksim) # CYGNUS LOCAL
- basic_machine=z8k-unknown
+ basic_machine=z8k-zilog
os=-sim
;;
+ z8k) # CYGNUS LOCAL
+ basic_machine=z8k-zilog
+ ;;
sun3)
basic_machine=m68k-sun
;;
@@ -427,6 +430,16 @@ case $basic_machine in
basic_machine=h8300-hitachi
os=-hms
;;
+
+ sh) # CYGNUS LOCAL
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+
+ h8500hms) # CYGNUS LOCAL
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
h8300xray) # CYGNUS LOCAL
basic_machine=h8300-hitachi
os=-xray
@@ -794,6 +807,9 @@ case $basic_machine in
-vxworks*) # CYGNUS LOCAL
vendor=wrs
;;
+ -hms*) # CYGNUS LOCAL
+ vendor=hitachi
+ ;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;