219 Commits

Author SHA1 Message Date
Dmitry V. Levin
05734c3b30 testsuite: make config data sorted using "make sort"
* Makefile (sort): Add dependencies, sort in C locale using "sort -u".
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2020-12-22 08:00:00 +00:00
Dmitry V. Levin
90b8cb42ba config.sub: recognize thumbv7*
* config.sub (thumbv7*): Recognize.
* testsuite/config-sub.data (thumbv7): New test.

Reported-by: Karl Berry <karl@freefriends.org>
Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html
2020-12-02 00:10:00 +00:00
Ben Elliston
74a858549d * config.sub (i*86-pc-os2-emx): Recognise correctly.
* testsuite/config-sub.data: Add OS/2 tests to avoid regressions.
2020-10-13 22:20:55 +11:00
Fabrice Fontaine
d7a4dee7cc * config.sub (uclinux-uclibc*): Fix detection.
* testsuite/config-sub.data: Add a test case to avoid regression.

Signed-off-by: Ben Elliston <bje@gnu.org>
2020-09-27 10:41:38 +10:00
Elad Lahav
e072cc210e * config.sub: Fix regression in QNX recognition.
* testsuite/config-sub.data: Add some test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2020-09-08 09:26:26 +10:00
Keno Fischer
3c20dd431e * config.sub (arm64-*): Canonicalise to aarch64-*.
Signed-off-by: Ben Elliston <bje@gnu.org>
2020-07-10 15:45:29 +10:00
John Ericson
62db2b6bd6 * config.sub (s390, s390x): Use 'ibm' vendor default, but allow
overrides.

Previously, 'ibm' was forced, which caused problems when someone
wanted to use 'busybox' as a vendor and cross-compile with a slightly
different toolchain. The fix changed behaviour such that without any
vendor, it would use to 'unknown' rather than 'ibm' as before.

This patch aims to compromise between the old and new behaviour by
making 'ibm' a default for those CPUs when no vendor is specified, but
if the user explicitly provides a vendor that is used instead. This
sort of "vendor defaulting" has plenty of precedent in config.sub, so
it seemed like a good approach.

Signed-off-by: Ben Elliston <bje@gnu.org>
2020-06-28 11:28:40 +10:00
Alexander Egorenkov
696cd4a4ea * config.sub (s390, s390x): Don't set manufacturer.
* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2020-06-21 10:51:01 +10:00
Carsten Teibes
5c38fa7c66 * config.sub (psp): Recognize.
* testsuite/config-sub.data: Add test case.

Signed-off-by: Ben Elliston <bje@air.net.au>
2020-06-18 16:50:55 +10:00
Emery Hemingway
e78c96e528 * config.sub (-genode*): New.
* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@air.net.au>
2020-05-04 23:40:51 +10:00
Ben Elliston
1912ca5041 * testsuite/config-guess.data: Sort.
* testsuite/config-sub.data: Likewise.
2019-09-12 20:45:58 +10:00
Daniel Bittman
fadac5a0ed * config.guess (*:Twizzler:*:*): New.
* config.sub (-twizzler*): New.
	* testsuite/config-guess.data: Add test cases.
	* testsuite/config-sub.data: Ditto.

Signed-off-by: Ben Elliston <bje@gnu.org>
2019-09-12 09:56:40 +10:00
Ben Elliston
04b07fc6d9 * testsuite/config-sub.data: Add some old Pentium test cases. 2019-08-04 09:38:47 +10:00
Ben Elliston
854aa79378 * config.sub: Recognise os108*.
* testsuite/config-sub.data: Add a test case.
2019-06-30 10:02:45 +10:00
Ben Elliston
717418e698 * testsuite/config-sub.data: Many more missing test cases.
* config.sub (hp300): Set $os to hpux.

nb: The config.sub bug was found after writing hp300 test cases.
2019-06-26 13:29:37 +10:00
Ben Elliston
1854fb9ed1 * testsuite/config-sub.data: Add some missing test cases. 2019-06-26 11:03:58 +10:00
Ben Elliston
6fd2f9bf82 * Makefile (sort): New target.
* testsuite/config-guess.data: Sort.
	* testsuite/config-sub.data: Likewise.
2019-06-04 09:48:27 +10:00
Jose E. Marchesi
55eaf3e779 * config.sub (bpf): Recognise.
* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2019-05-23 11:27:51 +10:00
John Ericson
a8d79c3130 * config.sub (wasm64, wasi): Recognise.
* testsuite/config-sub.data: Add test cases for wasm (Web Assembly) and
	wasi (Web Assembly System Interface).

Signed-off-by: Ben Elliston <bje@gnu.org>
2019-04-15 08:57:26 +10:00
Ben Elliston
a7dc12fa30 * testsuite/config-sub.data: Sort. 2019-03-29 08:32:47 +11:00
Urs Janßen
d495b0fc6b * config.sub: Recognize m68k-next-openstep* as openstep*, not
nextstep3.
	* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2019-03-29 08:31:13 +11:00
Ben Elliston
b0cc4c6f78 * config.sub (shl): Recognise.
* testsuite/config-sub.data: Add a test case.
2019-01-05 00:19:05 +11:00
Ben Elliston
210e50d643 * config.sub (mips64eb): Recognise.
* testsuite/config-sub.data: Add a test case for mips64eb.
2019-01-04 17:21:13 +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
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
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
Ben Elliston
dd5d5dd697 * config.sub: Do not rewrite riscv -> riscv32.
* testsuite/config-sub.data: Adjust tests.
2018-07-03 21:18:29 +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
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
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