From 97447f42ae26f6e8660bdb2aba3e123dfacb2e6f Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sat, 13 Jan 2018 21:43:46 +1100 Subject: [PATCH] * 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. --- ChangeLog | 10 ++++++++-- config.sub | 2 +- testsuite/config-sub.data | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3fd74a3..8200d9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-01-13 Ben Elliston + + * 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 * config.sub (maybe_os): Clean up 386BSD. @@ -10,8 +16,8 @@ 2018-01-13 Ben Elliston - * config.sub (maybe_os): Remove sparclite-wrs pattern as it is - matched by sparclite-* above. Found by Shellcheck. + * config.sub (basic_machine): Remove sparclite-wrs pattern as it + is matched by sparclite-* above. Found by Shellcheck. * testsuite/config-sub.data: Add test cases. 2018-01-13 Ben Elliston diff --git a/config.sub b/config.sub index 747897c..064e9b7 100755 --- a/config.sub +++ b/config.sub @@ -296,7 +296,7 @@ case $basic_machine in | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ - | pdp10 | pdp11 | pj | pjl \ + | pdp10 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pru \ | pyramid \ diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 65bcee9..69a85f1 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -355,7 +355,7 @@ os400 powerpc-ibm-os400 parisc hppa-unknown-linux-gnu pc98-freebsd i386-pc-freebsd pdp10 pdp10-unknown-tops20 -pdp11 pdp11-unknown-none +pdp11 pdp11-dec-none picochip picochip-unknown-none pjl pjl-unknown-none pj pj-unknown-none