* config.sub (basic_machine): Remove first pdp11 case so that the

second, specialised case will match instead. Found by Shellcheck.
	* testsuite/config-sub.data: Adjust test case.
This commit is contained in:
Ben Elliston 2018-01-13 21:43:46 +11:00
parent 0ce3d2f0c0
commit 97447f42ae
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (basic_machine): Remove first pdp11 case so that the
second, specialised case will match instead. Found by Shellcheck.
* testsuite/config-sub.data: Adjust test case.
2018-01-13 Ben Elliston <bje@gnu.org> 2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Clean up 386BSD. * config.sub (maybe_os): Clean up 386BSD.
@ -10,8 +16,8 @@
2018-01-13 Ben Elliston <bje@gnu.org> 2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove sparclite-wrs pattern as it is * config.sub (basic_machine): Remove sparclite-wrs pattern as it
matched by sparclite-* above. Found by Shellcheck. is matched by sparclite-* above. Found by Shellcheck.
* testsuite/config-sub.data: Add test cases. * testsuite/config-sub.data: Add test cases.
2018-01-13 Ben Elliston <bje@gnu.org> 2018-01-13 Ben Elliston <bje@gnu.org>

2
config.sub vendored
View File

@ -296,7 +296,7 @@ case $basic_machine in
| nios | nios2 | nios2eb | nios2el \ | nios | nios2 | nios2eb | nios2el \
| ns16k | ns32k \ | ns16k | ns32k \
| open8 | or1k | or1knd | or32 \ | open8 | or1k | or1knd | or32 \
| pdp10 | pdp11 | pj | pjl \ | pdp10 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \ | powerpc | powerpc64 | powerpc64le | powerpcle \
| pru \ | pru \
| pyramid \ | pyramid \

View File

@ -355,7 +355,7 @@ os400 powerpc-ibm-os400
parisc hppa-unknown-linux-gnu parisc hppa-unknown-linux-gnu
pc98-freebsd i386-pc-freebsd pc98-freebsd i386-pc-freebsd
pdp10 pdp10-unknown-tops20 pdp10 pdp10-unknown-tops20
pdp11 pdp11-unknown-none pdp11 pdp11-dec-none
picochip picochip-unknown-none picochip picochip-unknown-none
pjl pjl-unknown-none pjl pjl-unknown-none
pj pj-unknown-none pj pj-unknown-none