681 Commits

Author SHA1 Message Date
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
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
Paul Eggert
614ae20b93 * config.guess: Use before-save-hook not write-file-functions.
* config.sub: Ditto.

Signed-off-by: Ben Elliston <bje@gnu.org>
2018-03-08 11:29:55 +11: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
12c6a5c16e * config.sub: Double quote variables to silence warning SC2086
(double quote to prevent globbing and word splitting).
2018-01-15 07:33:04 +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
8ca6442e66 * config.sub (os): Remove overlapping pattern -svr4*. 2018-01-14 11:01:37 +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
53fa691097 * config.sub (maybe_os): Remove first and duplicate -none*
case. This is matched further down. Found by Shellcheck.
2018-01-14 08:31:27 +11:00
Ben Elliston
5960fa40b2 * config.sub (maybe_os): Remove duplicate case for z8k. 2018-01-13 23:10:33 +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
f22522a600 * config.sub (maybe_os): Remove duplicate patterns for sparc,
sparcv8, sparcv9, sparcv9b and sparcv9v. Found by Shellcheck.
2018-01-13 22:12:38 +11:00
Ben Elliston
efc9a4d8d5 * config.sub (maybe_os): Remove cases z8k-*-coff and z80-*-coff as
these are never matched. Found by Shellcheck.
2018-01-13 22:09:07 +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
1ea2427f47 * config.sub (maybe_os): Remove pdp10 case as it is handled above.
Found by Shellcheck.
2018-01-13 21:45:29 +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
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
a592387de4 * config.sub (maybe_os): Remove -rtmk-nova* pattern as it is
matched by -rtmk* immediately preceding it. Found by Shellcheck.
2018-01-13 20:55:11 +11:00
Ben Elliston
e8ad65b91a * config.sub (maybe_os): Remove duplicate sh64 case as it is
matched above. Found by Shellcheck.
2018-01-13 20:53:14 +11:00
Ben Elliston
f22c2fe826 * config.sub (maybe_os): Remove duplicate wasm32 case as it is
matched above. Found by Shellcheck.
2018-01-13 20:51:52 +11:00
Ben Elliston
6189f8e47a * config.sub (maybe_os): Remove duplicate -osfrose* and -osf*
cases as these are matched above by -osf*. Found by Shellcheck.
2018-01-13 20:43:28 +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
Ben Elliston
e9ecf4f360 * config.sub (maybe_os): Remove second and duplicate -aros*
case. Only the first will match. Found by Shellcheck.
2018-01-13 19:48:02 +11:00
Ben Elliston
b6b5d6c4c7 * config.sub (maybe_os): Remove second and duplicate *-next
case. Only the first will match. Found by Shellcheck.
2018-01-13 17:10:28 +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
Ben Elliston
6fc06f163a * config.guess: Update copyright years.
* config.sub: Likewise.
	* doc/config.guess.1: Regenerate.
	* doc/config.sub.1: Likewise.
2018-01-01 17:10:32 +11:00
Ben Elliston
6adbbddf3a Bump timestamp. 2017-12-31 11:18:41 +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
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
76d2f0e6f6 Revert -- it's too soon to make this change.
* config.guess: Replace old-style `..` command substitution with
	the more modern $(..) form.
	* config.sub: Likewise.
2017-11-04 11:04:43 +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
cf2650fa94 * config.guess: Improve usage text.
* config.sub: Likewise.
2017-11-04 09:22:08 +11:00
Ben Elliston
a1aab4fe31 * config.guess: Replace old-style .. command substitution with
the more modern $(..) form.
	* config.sub: Likewise.
2017-11-03 22:21:08 +11:00
Ben Elliston
4e9ab51a54 * config.guess: Whitespace fixes.
* config.sub: Ditto.
2017-11-01 09:31:38 +11:00
Ben Elliston
0e5095bc3b * config.sub (maybe_os): Remove redundant dpx2*-bull pattern.
Already matched by dpx2*.
2017-11-01 09:00:35 +11:00
Ben Elliston
c346c22106 * config.guess (Local variables): Use 'write-file-functions
instead of the deprecated 'write-file-hook (as of Emacs 22.1).
	* config.sub: Likewise.
2017-09-26 11:38:13 +10:00
Paul Eggert
0710b02a4a Prefer https: to http: for gnu.org
In Gnulib, Emacs, etc. we are changing ftp: and http: URLs to
	use https:, to help defend against man-in-the-middle attacks.
	Propagate these changes upstream to the config scripts.
	* config.guess, config.sub: Use https: URLs in diagnostics
	and in comments.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-09-17 08:25:26 +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
611c365215 Fix space before tab in config.sub. 2017-09-13 08:19:52 +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
3ff19c8ae6 * config.sub: Improve comments. 2017-09-10 19:19:51 +10:00