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>
This commit is contained in:
Vineet Gupta 2021-04-21 12:51:18 -07:00 committed by Dmitry V. Levin
parent 6c5532f345
commit 491e04557e
6 changed files with 12 additions and 6 deletions

4
config.guess vendored
View File

@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2021 Free Software Foundation, Inc.
timestamp='2021-04-16'
timestamp='2021-04-21'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -953,7 +953,7 @@ EOF
if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
arc:Linux:*:* | arceb:Linux:*:*)
arc:Linux:*:* | arceb:Linux:*:* | arc64:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
arm*:Linux:*:*)

4
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2021 Free Software Foundation, Inc.
timestamp='2021-04-16'
timestamp='2021-04-21'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -1165,7 +1165,7 @@ case $cpu-$vendor in
| alphapca5[67] | alpha64pca5[67] \
| am33_2.0 \
| amdgcn \
| arc | arceb \
| arc | arceb | arc64 \
| arm | arm[lb]e | arme[lb] | armv* \
| avr | avr32 \
| asmjs \

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH CONFIG.GUESS "1" "April 2021" "GNU config.guess (2021-04-16)" "User Commands"
.TH CONFIG.GUESS "1" "April 2021" "GNU config.guess (2021-04-21)" "User Commands"
.SH NAME
config.guess \- guess the build system triplet
.SH SYNOPSIS

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH CONFIG.SUB "1" "April 2021" "GNU config.sub (2021-04-16)" "User Commands"
.TH CONFIG.SUB "1" "April 2021" "GNU config.sub (2021-04-21)" "User Commands"
.SH NAME
config.sub \- validate and canonicalize a configuration triplet
.SH SYNOPSIS

View File

@ -36,6 +36,7 @@ amd64 | 7.0_RC1 | NetBSD | ignored | x86_64 | x86_64-unknown-netbsd7.0
amd64 | 7.2.1 | Isilon OneFS | ignored | ignored | x86_64-unknown-onefs
arc | ignored | Linux | ignored | ignored | arc-unknown-linux-gnu
arceb | ignored | Linux | ignored | ignored | arceb-unknown-linux-gnu
arc64 | ignored | Linux | ignored | ignored | arc64-unknown-linux-gnu
arm | 12.0 | FreeBSD | ignored | armv6 | armv6-unknown-freebsd12.0-gnueabihf
arm | 12.0 | FreeBSD | ignored | armv7 | armv7-unknown-freebsd12.0-gnueabihf
arm | 12.1 | AROS | ignored | armv7 | arm-unknown-aros

View File

@ -59,9 +59,14 @@ amix m68k-unknown-sysv4
apollo68 m68k-apollo-sysv
apollo68bsd m68k-apollo-bsd
arc arc-unknown-none
arc-elf arc-unknown-elf
arc-linux arc-unknown-linux-gnu
arceb arceb-unknown-none
arceb-elf arceb-unknown-elf
arceb-linux arceb-unknown-linux-gnu
arc64 arc64-unknown-none
arc64-elf arc64-unknown-elf
arc64-linux arc64-unknown-linux-gnu
arm arm-unknown-none
arm-cegcc arm-unknown-cegcc
arm-coff arm-unknown-coff