388 Commits

Author SHA1 Message Date
Ben Elliston
d49c7de1e8 * testsuite/config-guess.data: Add a test for ARM Linux. 2019-01-03 11:21:21 +11:00
Ben Elliston
a58cd1856a * testsuite/config-guess.data: Add new tests for Solaris on i386
and SPARC machines.
2019-01-03 11:13:53 +11:00
Ben Elliston
d0452dbb43 * testsuite/config-guess.sh (run_config_guess): Set CC_FOR_BUILD
to no_compiler_found so that we don't erroneously use the compiler
	of the host running the testsuite.
	* testsuite/config-guess.data: Adjust ARM FreeBSD expected output.
2019-01-03 11:09:27 +11:00
Keno Fischer
b3914f8d55 * config.sub (*-emscripten): Recognise.
* testsute/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-31 14:18:43 +11:00
Lauri Tirkkonen
dbd9d383bd * config.guess (*:Unleashed:*:*): New.
* config.sub (unleashed*): New.
	* testsuite/config-sub.data: Add a test case.
	* testsuite/config-guess.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-11-26 22:04:32 +11:00
Andrew Stubbs
7e97ab3987 * config.sub (amdgnu-amdhsa): Recognise.
* testsuite/config-sub.data: Test amdgcn-amdhsa.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-11-20 09:18:57 +11:00
Ben Elliston
2fa97a8a0e * config.guess (amd64:CYGWIN*:*:*, x86_64:CYGWIN*:*:*): Set
manufacturer to 'pc'.
	* testsuite/config-guess.data: Update test cases.
2018-10-26 11:21:25 +11:00
Ben Elliston
b8ee5f7994 From Justin Hibbits:
* config.sub (powerpcspe, powerpcspe-*): New.
	* testsuite/config-sub.data: Add test cases.
2018-08-24 20:54:40 +10:00
John Ericson
478579434f * config.sub (cr16-*): Do not clobber vendor.
* testsuite/config-sub.data (cr16-random-elf): Adjust test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-24 20:36:55 +10:00
Ben Elliston
f5aba1772c * testsuite/config-sub.data: Add more tests. 2018-08-24 20:31:06 +10:00
John Ericson
890df4376b * config.sub: Move the big patterns to the bottom in preparation
for de-duplication. It causes Shellcheck to see more overlapping
	patterns. Fix miscellaneous problems identified by Shellcheck.
	* testsuite/config-sub.data: Adjust tests.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-20 17:36:53 +10:00
John Ericson
0e62f680f8 * testsuite/config-sub.data: Add legacy test cases.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-20 16:45:39 +10:00
John Ericson
588e779320 * config.sub (sequent): Make this a one-component alias.
* testsuite/config-sub.data (sequent-ptx): Adjust test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-14 10:11:14 +10:00
Ben Elliston
0b99e39a4e * testsuite/config-sub.data: Add legacy test cases for cydra,
da30, dec3100, decstation, decstation-3100, decstatn, orion, pc98,
	pmin, pmax, romp, rs6000, vax, x64, xps and xps100.
2018-08-13 20:25:15 +10:00
John Ericson
f4f9b29a8c * config.sub (craynv): Move back as a basic_machine pattern.
* testsuite/config-sub.data: Add test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-13 14:17:53 +10:00
Ben Elliston
c0ba970d17 * testsuite/config-sub.data: Add some legacy test cases. 2018-08-13 10:10:23 +10:00
John Ericson
ad274839e2 * config.sub: Eliminate some dead code for SH targets.
* testsuite/config-sub.data: Add tests for sh2ele and sh2ele-elf.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-08 14:00:07 +10:00
John Ericson
08ede0dcc1 * testsuiteb/config-sub.sh (run_config_sub_idempotent): New.
* config.sub: Fixes to pass the testsuite.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-08 11:45:12 +10:00
John Ericson
dbe15d73a8 * testsuite/config-guess.sh: Make 'rc' a local variable.
* testsuite/config-sub.sh: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-03 18:03:14 +10:00
John Ericson
f52be464ee * testsuite/config-guess.sh: Re-indent with tabs.
* testsuite/config-sub.sh: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-02 21:19:03 +10:00
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