* config.sub (maybe_os): Remove duplicate pattern -hms*.

* testsuite/config-sub.data: Add a test.
This commit is contained in:
Ben Elliston 2018-01-14 10:57:24 +11:00
parent 10438e2050
commit e8c56e37c2
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-01-14 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove duplicate pattern -hms*.
* testsuite/config-sub.data: Add a test.
2018-01-14 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove duplicate pattern -beos*.

2
config.sub vendored
View File

@ -1405,7 +1405,7 @@ case $os in
-nto*)
os=`echo $os | sed -e 's|nto|nto-qnx|'`
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -v88r* \
-sim | -es1800* | -xray | -os68k* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* \
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
;;

View File

@ -408,6 +408,7 @@ score score-unknown-elf
sde-elf mipsisa32-sde-elf
sh sh-unknown-none
sh-elf sh-unknown-elf
sh-hms sh-hitachi-hms
sh1-elf sh1-unknown-elf
sh1le-elf sh1le-unknown-elf
sh1 sh1-unknown-none