aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2022-07-18 13:57:10 +0300
committerClaudiu Zissulescu <claziss@gmail.com>2022-07-18 14:25:31 +0300
commit5154216259b0302785abf89f176051bcf0e6375c (patch)
tree98e911c619ec5db531a560d5af75698cad17ac70 /gas
parent9a14143c59f9aa7c68a032cd53f0106d5a31a040 (diff)
downloadfsf-binutils-gdb-5154216259b0302785abf89f176051bcf0e6375c.zip
fsf-binutils-gdb-5154216259b0302785abf89f176051bcf0e6375c.tar.gz
fsf-binutils-gdb-5154216259b0302785abf89f176051bcf0e6375c.tar.bz2
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>
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4c2b03e..5a391a2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
* 2.39 branch created.
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index fd648b7..a606078 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];
/* Split off the opcode. */
- opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_0123468");
+ opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_0123456789");
opname = xmemdup0 (str, opnamelen);
/* Signalize we are assembling the instructions. */