* testsuite/config-sub.data: Many more missing test cases.

* config.sub (hp300): Set $os to hpux.

nb: The config.sub bug was found after writing hp300 test cases.
This commit is contained in:
Ben Elliston
2019-06-26 13:29:37 +10:00
parent 1854fb9ed1
commit 717418e698
3 changed files with 77 additions and 6 deletions

9
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2019 Free Software Foundation, Inc.
timestamp='2019-05-23'
timestamp='2019-06-26'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -337,17 +337,14 @@ case $1 in
basic_machine=m88k-harris
os=sysv3
;;
hp300)
hp300 | hp300hpux)
basic_machine=m68k-hp
os=hpux
;;
hp300bsd)
basic_machine=m68k-hp
os=bsd
;;
hp300hpux)
basic_machine=m68k-hp
os=hpux
;;
hppaosf)
basic_machine=hppa1.1-hp
os=osf