aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Hannum <mycroft@gnu.org>1994-08-24 04:07:50 +0000
committerCharles Hannum <mycroft@gnu.org>1994-08-24 04:07:50 +0000
commitbafceb93e8ec8dbb89594923b987eff51333b943 (patch)
tree16e777de7c051e0525e5118def1034dd433b3f39
parentb5f57ac8502985bd267c74d49e681b05ce90c897 (diff)
downloadgcc-bafceb93e8ec8dbb89594923b987eff51333b943.zip
gcc-bafceb93e8ec8dbb89594923b987eff51333b943.tar.gz
gcc-bafceb93e8ec8dbb89594923b987eff51333b943.tar.bz2
Add NetBSD support.
From-SVN: r7961
-rwxr-xr-xgcc/config.sub12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/config.sub b/gcc/config.sub
index 6c3dd99..a75ec46 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -129,6 +129,9 @@ case $basic_machine in
| pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
| sh-* | powerpc-* | sparc64-*)
;;
+ # Recognize names of some NetBSD ports.
+ amiga-* | hp300-* | mac68k-* | sun3-* | pmax-*)
+ ;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
@@ -378,7 +381,14 @@ case $basic_machine in
basic_machine=m68k-tti
;;
pc532)
- basic_machine=ns32k-pc532
+ case $os in
+ -netbsd*)
+ basic_machine=pc532-unknown
+ ;;
+ *)
+ basic_machine=ns32k-pc532
+ ;;
+ esac
;;
pentium-*)
# We will change tis to say i586 once there has been