268 Commits

Author SHA1 Message Date
John Ericson
4761c20494 * config.sub: Fix some more i386-pc-* defaults.
* testsuite/config-sub.data: Update.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-07-25 12:26:00 +10:00
Mikaël Urankar
afe1fa96bf * config.guess (arm*:FreeBSD:*:*): New.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-07-18 22:38:44 +10:00
Ben Elliston
5c3c4a9647 * testsuite/config-guess.data: Sort. 2018-07-15 10:50:45 +10:00
Ben Elliston
9f9b3d365a * testsuite/config-guess.sh: Strip off spaces around pipe
delimiter as test data is read in.
	(run_config_guess): Set IFS to '|'.
	* testsuite/config-guess.data: Use ' | ' as the delimeter.
2018-07-13 22:20:28 +10:00
Ben Elliston
dd5d5dd697 * config.sub: Do not rewrite riscv -> riscv32.
* testsuite/config-sub.data: Adjust tests.
2018-07-03 21:18:29 +10:00
Sevan Janiyan
0388bdcb11 * config.guess (*:Minix:*:*): Accept any machine.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-06-26 11:54:17 +10:00
Palmer Dabbelt
a06fbed616 * config.sub: Add riscv-* as an alias for riscv32-*.
* testsuite/config-sub.data: Add tests.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-06-22 09:28:40 +10:00
Ben Elliston
3a2a927f54 * testsuite/config-sub.data: Add tests for Sequent and DYNIX/ptx. 2018-05-24 18:25:10 +10:00
Ben Elliston
44afabad0c Revert "Fix top of file comments."
This reverts commit ed15654af036a976f82c4503eb81c1a44e55bd3c.
2018-05-23 13:22:23 +10:00
John Ericson
cc35b3ce10 * testsuite/config-sub.data: Add clipper-clix and m68k-mint tests.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-05-21 12:42:26 +10:00
Ben Elliston
ab84f2cea4 * testsuite/config-sub.data: Sort. 2018-05-19 19:03:54 +10:00
Ben Elliston
ed15654af0 Fix top of file comments. 2018-05-19 19:02:02 +10:00
Ben Elliston
382847f038 * config.guess (set_cc_for_build): Guard against $CC_FOR_BUILD,
$HOST_CC and $CC being undefined by using ${var-} style expansion.
	(*:NetBSD:*:*): Likewise for $abi.
	* testsuite/config-guess.sh: Run config.guess under `sh -eu'.
2018-05-19 18:58:37 +10:00
Ben Elliston
32d5bd9cec * testsuite/config-guess.sh: Set -eu for robustness. Run
config.guess under `sh -e' to catch more problems.
	* testsuite/config-sub.sh: Run config.sub under `sh -eu'.
2018-05-19 18:34:15 +10:00
John Ericson
09df750b99 * config.sub (arm*-*-none-eabi): Recognise.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-05-05 21:09:43 +10:00
Francois H. Theron
d23f148145 * config.sub (nfp, nfp-*): New.
* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-05-01 15:29:04 +10:00
John Ericson
c62a41f36a * config.sub (arm6m, armv[78][arm]): Recognise.
* testsuite/config-sub.data: Add tests.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-04-24 09:06:53 +10:00
Mao Han
63b4ce2e8c * config.sub (csky, csky-*): Recognise.
* testsuite/config-sub.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-04-16 14:46:36 +10:00
Ben Elliston
1aefff3bbb * testsuite/config-sub.data: Sort. 2018-04-16 14:35:12 +10:00
John Darrington
c3818bbab0 * config.sub (s12z, hcs12z, m68hcs12z, m9s12z): New.
* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-04-16 14:33:13 +10:00
Rishi Khan
b69837cbbd * config.sub (hcos-*): Recognise.
* testsuite/config-sub.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-02-28 09:15:47 +11:00
Ben Elliston
365ea7edee Reported by Nelson H. F. Beebe:
* config.sub (os): Recognise midnightbsd*.
	* testsuite/config-sub.data: Add a test case.
2018-02-22 13:50:09 +11:00
Ben Elliston
391ea45d14 * config.sub (os): Move -es1800* case above -es*.
* testsuite/config-sub.data: Add several test cases.
2018-01-14 11:18:55 +11:00
Ben Elliston
e8c56e37c2 * config.sub (maybe_os): Remove duplicate pattern -hms*.
* testsuite/config-sub.data: Add a test.
2018-01-14 10:57:24 +11:00
Ben Elliston
10438e2050 * config.sub (maybe_os): Remove duplicate pattern -beos*.
* testsuite/config-sub.data: Add a test.
2018-01-14 10:54:49 +11:00
Ben Elliston
d1a4abff22 * config.sub (maybe_os): Remove duplicated pattern -haiku*.
(basic_machine): Don't match haiku in the manufacturer field.
	* testsuite/config-sub.data: Add a test.
2018-01-14 10:51:48 +11:00
Ben Elliston
aaaf06062a * config.sub (maybe_os): Remove duplicated pattern -opened* which
prevents the more specific case matching on line 1427.
	* testsuite/config-sub.data: Add a test.
2018-01-14 10:29:58 +11:00
Ben Elliston
8af31e838c * config.sub (maybe_os): Remove duplicate case for sh.
* testsuite/config-sub.data: Add test cases for sh and sh-elf.
2018-01-13 23:06:49 +11:00
Ben Elliston
dea159d913 * config.sub (maybe_os): Remove duplicate m88k-omron* case.
Found by Shellcheck.
	* testsuite/config-sub.data: Add a test case.
2018-01-13 22:06:51 +11:00
Ben Elliston
97447f42ae * 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 21:43:46 +11:00
Ben Elliston
0ce3d2f0c0 * config.sub (maybe_os): Clean up 386BSD.
* testsuite/config-sub.data: Adjust test cases.
2018-01-13 21:37:16 +11:00
Ben Elliston
ae1acbbff7 * testsuite/config-guess.data: Sort.
* testsuite/config-sub.data: Likewise.
2018-01-13 21:11:12 +11:00
Ben Elliston
702204e47b * config.sub (maybe_os): Remove sparclite-wrs pattern as it is
matched by sparclite-* above. Found by Shellcheck.
	* testsuite/config-sub.data: Add test cases.
2018-01-13 21:00:55 +11:00
Ben Elliston
8503c24298 * config.sub (maybe_os): Remove second and duplicate *-xenix case
as only the first will match. Found by Shellcheck.
	* testsuite/config-sub.data: Add test case.
2018-01-13 20:12:27 +11:00
Ben Elliston
a9f681360d * config.sub (maybe_os): Remove hppa-next which can never match
due to an earlier pattern. Found by Shellcheck.
	* testsuite/config-sub.data: Add test cases.
2018-01-13 20:05:24 +11:00
Ben Elliston
e9fbad7e05 * config.sub (maybe_os): Remove i386-vsta which can never match
due to an earlier pattern (but retain vsta). Found by Shellcheck.
	* testsuite/config-sub.data: Add test cases.
2018-01-13 20:01:54 +11:00
Randall S. Becker
a69a8a3d51 * config.guess (NSV-*:NONSTOP_KERNEL:*:*): New.
* config.sub (nsv-tandem): New.
	* testsuite/config-guess.data: Add a test case.
	* testsuite/config-sub.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-01-11 10:00:52 +11:00
Andrew Pinski
cb7fee107e * config.sub (-bme*): New.
* testsuite/config-sub.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-12-31 08:09:29 +11:00
Henry Bent
c9092d0534 * config.guess (mips:OSF1:*:*): Recognise.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-12-17 14:03:06 +11:00
Olivier Hainque
f5641da650 * config.sub: Map -pikeos to baremetal.
* testsuite/config-sub.data: Add tests for a few pikeos
	configuration variants.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-11-23 22:19:05 +11:00
Ben Elliston
3e66531146 Reported by Nelson H. F. Beebe:
* config.guess (*:MidnightBSD:*:*): Recognise.
	* testsuite/config-guess.data: Add a test case.
2017-11-07 14:14:17 +11:00
Ben Elliston
b83ed0ee7b * config.sub (we32k): Remove duplicate case so that `we32k'
properly canonicalises to `we32k-att-sysv'.
	* testsuite/config-sub.data: Update test case.
2017-11-04 09:25:08 +11:00
Ben Elliston
4e26019d10 * testsuite/config-guess.sh (run_config_guess): Simplify.
* testsuite/config-sub.sh (run_config_sub): Likewise.
2017-10-26 23:10:46 +11:00
Ben Elliston
d07fa31c34 * testsuite/config-guess.sh: Fix issues identified by Shellcheck.
* testsuite/config-sub.sh: Likewise.
2017-10-26 22:31:18 +11:00
Ben Elliston
9e0cc019c7 * testsuite/config-sub.data (i386-windows): New test case.
(x86_64-windows): Likewise.
2017-09-15 12:14:13 +10:00
Ben Elliston
36b490f72a * config.sub (maybe_os): Add x64 alias for x86_64. 2017-09-13 21:49:43 +10:00
Ben Elliston
554e3feb15 * config.sub (maybe_os): Remove -windowsnt*.
* config.guess (Alpha\ *:Windows_NT*:*): Remove obsolete case.
	(21064:Windows_NT:50:3): Likewise.
	(i*:windows32*:*): Likewise.
	([345]86:Windows_95:*, [345]86:Windows_98:*): Likewise.
	([345]86:Windows_NT:*): Likewise.
	(8664:Windows_NT:*): Likewise.
	(i*:Windows_NT*:* | Pentium*:Windows_NT*:*): Likewise.
	(p*:CYGWIN*:*): Likewise.
	* testsuite/config-guess.data: Remove relevant test cases.
2017-09-12 11:52:17 +10:00
Ben Elliston
c268e85591 * testsuite/config-guess.data: Sort. 2017-08-26 20:32:22 +10:00
Ian Douglas Scott
636f39d3a3 * config.guess (*:Redox:*:*): New.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-08-08 18:54:55 +10:00
Ben Elliston
281c61b32f * config.guess (NSR-*:NONSTOP_KERNEL:*:*): Match suffix with *.
(NEO-*:NONSTOP_KERNEL:*:*): Likewise.
	* testsuite/config-guess.data: Add test cases.
2017-05-11 20:36:27 +10:00