dacec0cff2
Update copyright years
...
* config.guess: Update copyright years.
* config.sub: Likewise.
* testsuite/config-guess.sh: Likewise.
* testsuite/config-sub.sh: Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
2022-01-01 08:00:00 +00:00
ee98986410
config.sub: alias armh to armv7l
...
ALT uses armh as an alias for armv7l-alt-linux-gnueabihf since 2012.
* config.sub (armh-unknown|armh-alt): Set cpu, vendor, and basic_os.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (armh, armh-alt-linux-gnueabihf): New tests.
2021-12-25 08:00:00 +00:00
da0f86d042
config.sub: alias aarch64le to aarch64
...
Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
* config.sub (aarch64le-*): Set cpu to aarch64.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (aarch64le-qnx): New test.
Reported-by: Elad Lahav <e2lahav@gmail.com >
Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
2021-12-24 17:00:00 +00:00
a013aac61e
Recognize Fiwix
...
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)
* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-10-27 14:35:57 +00:00
2707e389a5
config.sub: add Linux Relibc Target
...
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (136 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (881 tests)
PASS: config.sub idempotency checks (818 tests)
PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.sub (relibc*): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (x86_64-linux-relibc): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-08-04 13:32:46 +00:00
401e1a7dd1
config.sub: add Zephyr RTOS support
...
This adds the Zephyr RTOS targets in preparation for implementing the
Zephyr RTOS-specific toolchain support.
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (136 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (880 tests)
PASS: config.sub idempotency checks (817 tests)
PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.sub (zephyr*): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data: Add testcases for *-zephyr.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io >
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-07-06 14:09:09 +00:00
45e181800a
Recognize arc32
...
This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
32-bit ARCv2 ISA)
| make check
| cd testsuite && bash config-guess.sh && rm uname
| PASS: config.guess checks (136 tests)
| cd testsuite && bash config-sub.sh
| PASS: config.sub checks (864 tests)
| PASS: config.sub idempotency checks (801 tests)
| PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.guess (arc32:Linux:*:*): Recognize.
* config.sub (arc32): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for arc32.
* testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com >
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-06-04 04:01:25 +00:00
92fac9b5ce
testsuite: make config data sorted using "make sort"
...
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2021-05-05 20:00:00 +00:00
daf828df3d
testsuite/config-guess.data: remove SecBSD test
...
Sadly, the test infrastructure is not ready for guesses based on the
output of "arch" yet.
* testsuite/config-guess.data: Remove SecBSD test.
2021-05-05 20:00:00 +00:00
7779518ae2
config.sub: Handle MIPS R3 and R5 ISA levels with CPU names
...
Complement binutils commit ae52f4830604 ("Add MIPS r3 and r5 support.")
and recognize MIPS CPU patterns for the R3 and R5 ISA levels, used by
GAS to set defaults.
* config.sub (mipsisa32r3, mipsisa32r3el, mipsisa32r5, mipsisa32r5el,
mipsisa64r3, mipsisa64r3el, mipsisa64r5, mipsisa64r5el): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data: Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-04-30 23:15:08 +00:00
491e04557e
Recognize arc64
...
This paves way for setting up arc64 software ecosystem.
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (136 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (853 tests)
PASS: config.sub idempotency checks (790 tests)
PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.guess (arc64:Linux:*:*): Recognize.
* config.sub (arc64): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for arc64.
* testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com >
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-04-21 19:51:18 +00:00
6c5532f345
config.guess: add SecBSD support
...
* config.guess (*:SecBSD:*:*): Recognize.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add a test case.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-04-16 22:26:32 +00:00
20bc4bc021
config.sub: add SecBSD support
...
* config.sub (secbsd*): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data: Add x86_64-secbsd.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-04-16 22:14:24 +00:00
277b4ed177
testsuite: make config data sorted using "make sort"
...
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2021-03-10 20:00:00 +00:00
1dc6451098
config.sub: Add support for SerenityOS
...
* config.sub (serenity*): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data: Add i386-serenity.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-03-10 15:27:49 +00:00
6faca61810
config.guess: update AROS system detection
...
* config.guess: Recognize *:AROS:*:*.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-01-25 20:35:13 +00:00
21d397cdb4
config.sub: recognize four-part configuration name for VxWorks
...
For example:
armv7m-wrs-vxworks-eabihf
armv7-wrs-vxworks-eabihf
i686-wrs-vxworks-simlinux
i686-wrs-vxworks-simwindows
powerpc-wrs-vxworks-spe
x86_64-wrs-vxworks-simlinux
x86_64-wrs-vxworks-simwindows
* config.sub: Recognize four-part configuration name for VxWorks.
* doc/config.guess.1: Regenerate.
* testsuite/config-sub.data: Add test cases.
Co-authored-by: John Ericson <git@JohnEricson.me >
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-01-08 02:53:07 +00:00
04d8eb4c26
config.sub: accept OS of eabi* and gnueabi*
...
Commit 5e531d3918
broke powerpc-eabivle:
$ ./config.sub powerpc-eabivle
Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
Also powerpc-eabisim and probably some arm configurations.
* config.sub: Accept OS of eabi* and gnueabi*.
* testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2021-01-06 23:55:28 +00:00
8e0c6ffd5c
Recognize riscv32be and riscv64be
...
Recently RISC-V community got patches big-endian support for binutils,
and we'd like to accept that, however before accepting that I think it
would be better to upstream config.sub and config.guess change here :)
It's my check result on Ubuntu 18.04:
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (131 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (830 tests)
PASS: config.sub idempotency checks (767 tests)
PASS: config.sub canonicalise each config.guess testcase (131 tests)
* config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize.
* config.sub (riscv32be, riscv64be): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be.
* testsuite/config-sub.data (riscv32be, riscv64be): Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2020-12-31 07:27:52 +00:00
c8ddc8472f
Recognize loongarch32, loongarch64, and loongarchx32
...
* config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*,
loongarchx32:Linux:*:*): Recognize.
* config.sub (loongarch32, loongarch64, loongarchx32): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add test cases for loongarch32,
loongarch64, and loongarchx32.
* testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32):
Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org >
2020-12-22 08:00:00 +00:00
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
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
f1c1f29968
testsuite: cleanup whitespace issues
...
Fix indentation that uses spaces before tabs, reported by
git diff-index --check --cached 4b825dc642
2020-11-19 08:00:00 +00:00
1c43980155
* config.guess (*:NetBSD:*:*): Handle aarch64eb.
...
* testsuite/config-guess.data: Add test cases.
Signed-off-by: Ben Elliston <bje@gnu.org >
2020-10-22 00:05:38 +11:00
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
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
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
0b5188819b
* config.guess: Replace "if [ EXPR ]" with "if test EXPR".
...
* config.sub: Likewise.
* testsuite/config-guess.sh: Likewise.
* testsuite/config-sub.sh: Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org >
2020-08-17 13:36:41 +10:00
2593751ef2
* config.guess (arm64:Darwin:*:*): Recognise.
...
* testsuite/config-guess.data: Add a test case.
2020-07-12 18:21:33 +10:00
3c20dd431e
* config.sub (arm64-*): Canonicalise to aarch64-*.
...
Signed-off-by: Ben Elliston <bje@gnu.org >
2020-07-10 15:45:29 +10:00
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
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
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
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
1912ca5041
* testsuite/config-guess.data: Sort.
...
* testsuite/config-sub.data: Likewise.
2019-09-12 20:45:58 +10:00
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
04b07fc6d9
* testsuite/config-sub.data: Add some old Pentium test cases.
2019-08-04 09:38:47 +10:00
d3bfe62ac8
This change introduces a new test to config-sub.sh which runs every
...
config.guess expected triplet through config.sub so that we can check
that it is properly recognised. Sometimes, new triplets have been
added to config.guess without updating config.sub accordingly (eg,
Harris NightHawk machines running PowerUnix from the mid-1990s!)
* config.sub (case $os): Match nsk* and powerunix. Don't later
match nsk* and set os=nsk which removes the OS version number.
* testsuite/config-guess.data: Tweak Unleashed test case.
* testsuite/config-sub.sh (run_config_sub_with_guess_triplets):
New test.
2019-06-30 16:39:33 +10:00
854aa79378
* config.sub: Recognise os108*.
...
* testsuite/config-sub.data: Add a test case.
2019-06-30 10:02:45 +10:00
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
1854fb9ed1
* testsuite/config-sub.data: Add some missing test cases.
2019-06-26 11:03:58 +10:00
f83dbaa146
* config.guess (*:OS108:*:*): Recognise new OS.
...
* testsuite/config-guess.data: Add a test case.
2019-06-10 23:36:57 +10:00
6fd2f9bf82
* Makefile (sort): New target.
...
* testsuite/config-guess.data: Sort.
* testsuite/config-sub.data: Likewise.
2019-06-04 09:48:27 +10:00
104ee6463c
* testsuite/config-guess.data: Add Darwin tests.
2019-05-28 15:30:53 +10:00
bad92f031d
Revert. Fix extraneous 'fi'.
2019-05-28 15:29:39 +10:00
0e33211d96
* testsuite/config-guess.data: Add Darwin tests.
2019-05-28 13:49:39 +10:00
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
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
a7dc12fa30
* testsuite/config-sub.data: Sort.
2019-03-29 08:32:47 +11:00
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