arc: Update missing cipher.

The ciphers 5,7, and 9 are missing when parsing an assembly
instruction leading to errors when those ciphers are
used.

gas/config
	* tc-arc.c (md_assembly): Update strspn string with the
          missing ciphers.

Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
This commit is contained in:
Claudiu Zissulescu
2022-07-18 13:57:10 +03:00
committed by Claudiu Zissulescu
parent 9a14143c59
commit 5154216259
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
* config/tc-arc.c (md_assembly): Update strspn string with the
missing ciphers.
2022-07-08 Nick Clifton <nickc@redhat.com> 2022-07-08 Nick Clifton <nickc@redhat.com>
* 2.39 branch created. * 2.39 branch created.

View File

@ -2517,7 +2517,7 @@ md_assemble (char *str)
struct arc_flags flags[MAX_INSN_FLGS]; struct arc_flags flags[MAX_INSN_FLGS];
/* Split off the opcode. */ /* Split off the opcode. */
opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_0123468"); opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_0123456789");
opname = xmemdup0 (str, opnamelen); opname = xmemdup0 (str, opnamelen);
/* Signalize we are assembling the instructions. */ /* Signalize we are assembling the instructions. */