diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 3dfbeb7bd00..7ee29cc8562 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -6236,7 +6236,7 @@ lookup_mnemonic (const char *start, int len) (if any) and END points to the end of the mnemonic. */ static templates * -opcode_lookup (char *base, char *dot, char *end) +opcode_lookup (const char *base, const char *dot, const char *end) { const aarch64_cond *cond; char condname[16];