From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1957) id 2A3493853564; Mon, 18 Jul 2022 11:25:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A3493853564 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Claudiu Zissulescu To: bfd-cvs@sourceware.org Subject: [binutils-gdb] arc: Update missing cipher. X-Act-Checkin: binutils-gdb X-Git-Author: Claudiu Zissulescu X-Git-Refname: refs/heads/master X-Git-Oldrev: 9a14143c59f9aa7c68a032cd53f0106d5a31a040 X-Git-Newrev: 5154216259b0302785abf89f176051bcf0e6375c Message-Id: <20220718112542.2A3493853564@sourceware.org> Date: Mon, 18 Jul 2022 11:25:42 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2022 11:25:42 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5154216259b0= 302785abf89f176051bcf0e6375c commit 5154216259b0302785abf89f176051bcf0e6375c Author: Claudiu Zissulescu Date: Mon Jul 18 13:57:10 2022 +0300 arc: Update missing cipher. =20 The ciphers 5,7, and 9 are missing when parsing an assembly instruction leading to errors when those ciphers are used. =20 gas/config * tc-arc.c (md_assembly): Update strspn string with the missing ciphers. =20 Signed-off-by: Claudiu Zissulescu Diff: --- gas/ChangeLog | 5 +++++ gas/config/tc-arc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4c2b03ef216..5a391a22636 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2022-07-18 Claudiu Zissulescu + + * config/tc-arc.c (md_assembly): Update strspn string with the + missing ciphers. + 2022-07-08 Nick Clifton =20 * 2.39 branch created. diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index fd648b742b4..a606078f5b8 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -2517,7 +2517,7 @@ md_assemble (char *str) struct arc_flags flags[MAX_INSN_FLGS]; =20 /* Split off the opcode. */ - opnamelen =3D strspn (str, "abcdefghijklmnopqrstuvwxyz_0123468"); + opnamelen =3D strspn (str, "abcdefghijklmnopqrstuvwxyz_0123456789"); opname =3D xmemdup0 (str, opnamelen); =20 /* Signalize we are assembling the instructions. */