From: "Dmitry V. Levin" <ldv@altlinux.org>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: config-patches@gnu.org, linux-snps-arc@lists.infradead.org
Subject: Re: [PATCH] Recognize arc64
Date: Thu, 6 May 2021 04:38:47 +0300 [thread overview]
Message-ID: <20210506013846.GD27615@altlinux.org> (raw)
In-Reply-To: <20210421195118.158464-1-vgupta@synopsys.com>
On Wed, Apr 21, 2021 at 12:51:18PM -0700, Vineet Gupta wrote:
> This paves way for setting up arc64 software ecosystem.
>
> $ make check
> cd testsuite && bash config-guess.sh && rm uname
> PASS: config.guess checks (135 tests)
> cd testsuite && bash config-sub.sh
> PASS: config.sub checks (852 tests)
> PASS: config.sub idempotency checks (789 tests)
> PASS: config.sub canonicalise each config.guess testcase (135 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 test cases for arc64.
> * testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
>
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
> config.guess | 4 ++--
> config.sub | 4 ++--
> doc/config.guess.1 | 2 +-
> doc/config.sub.1 | 2 +-
> testsuite/config-guess.data | 1 +
> testsuite/config-sub.data | 5 +++++
> 6 files changed, 12 insertions(+), 6 deletions(-)
>
> diff --git a/config.guess b/config.guess
> index 1972fda8eb05..a6646ed28258 100755
> --- a/config.guess
> +++ b/config.guess
> @@ -2,7 +2,7 @@
> # Attempt to guess a canonical system name.
> # Copyright 1992-2021 Free Software Foundation, Inc.
>
> -timestamp='2021-01-25'
> +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
> @@ -949,7 +949,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:*:*)
> diff --git a/config.sub b/config.sub
> index 7f7d0b055ac5..d70247c08d12 100755
> --- a/config.sub
> +++ b/config.sub
> @@ -2,7 +2,7 @@
> # Configuration validation subroutine script.
> # Copyright 1992-2021 Free Software Foundation, Inc.
>
> -timestamp='2021-03-10'
> +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 \
> diff --git a/doc/config.guess.1 b/doc/config.guess.1
> index 75fbb236fd68..f79f1c5f10c5 100644
> --- a/doc/config.guess.1
> +++ b/doc/config.guess.1
> @@ -1,5 +1,5 @@
> .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
> -.TH CONFIG.GUESS "1" "January 2021" "GNU config.guess (2021-01-25)" "User Commands"
> +.TH CONFIG.GUESS "1" "January 2021" "GNU config.guess (2021-04-21)" "User Commands"
> .SH NAME
> config.guess \- guess the build system triplet
> .SH SYNOPSIS
> diff --git a/doc/config.sub.1 b/doc/config.sub.1
> index 317c8c47a180..9d52cebf58d0 100644
> --- a/doc/config.sub.1
> +++ b/doc/config.sub.1
> @@ -1,5 +1,5 @@
> .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
> -.TH CONFIG.SUB "1" "March 2021" "GNU config.sub (2021-03-10)" "User Commands"
> +.TH CONFIG.SUB "1" "March 2021" "GNU config.sub (2021-04-21)" "User Commands"
> .SH NAME
> config.sub \- validate and canonicalize a configuration triplet
> .SH SYNOPSIS
> diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data
> index f240e9ce61df..73908abb4e06 100644
> --- a/testsuite/config-guess.data
> +++ b/testsuite/config-guess.data
> @@ -35,6 +35,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
> diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
> index 101a4c45ec39..0a59eaf1cec7 100644
> --- a/testsuite/config-sub.data
> +++ b/testsuite/config-sub.data
> @@ -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
Applied, thanks.
--
ldv
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
prev parent reply other threads:[~2021-05-06 1:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-21 19:51 [PATCH] Recognize arc64 Vineet Gupta
2021-05-05 21:57 ` Vineet Gupta
2021-05-06 1:38 ` Dmitry V. Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210506013846.GD27615@altlinux.org \
--to=ldv@altlinux.org \
--cc=Vineet.Gupta1@synopsys.com \
--cc=config-patches@gnu.org \
--cc=linux-snps-arc@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.