* config.sub (maybe_os): Remove duplicate case for sh.

* testsuite/config-sub.data: Add test cases for sh and sh-elf.
This commit is contained in:
Ben Elliston 2018-01-13 23:06:49 +11:00
parent f22522a600
commit 8af31e838c
3 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove duplicate case for sh.
* testsuite/config-sub.data: Add test cases for sh and sh-elf.
2018-01-13 Ben Elliston <bje@gnu.org> 2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove duplicate patterns for sparc, * config.sub (maybe_os): Remove duplicate patterns for sparc,

4
config.sub vendored
View File

@ -1098,10 +1098,6 @@ case $basic_machine in
sequent) sequent)
basic_machine=i386-sequent basic_machine=i386-sequent
;; ;;
sh)
basic_machine=sh-hitachi
os=-hms
;;
sh5el) sh5el)
basic_machine=sh5le-unknown basic_machine=sh5le-unknown
;; ;;

View File

@ -403,6 +403,8 @@ s390-ibm-zvmoe s390-ibm-zvmoe
score-elf score-unknown-elf score-elf score-unknown-elf
score score-unknown-elf score score-unknown-elf
sde-elf mipsisa32-sde-elf sde-elf mipsisa32-sde-elf
sh sh-unknown-none
sh-elf sh-unknown-elf
sh1-elf sh1-unknown-elf sh1-elf sh1-unknown-elf
sh1le-elf sh1le-unknown-elf sh1le-elf sh1le-unknown-elf
sh1 sh1-unknown-none sh1 sh1-unknown-none