]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: constify unchanged char* arguments
authorMatthieu Longo <matthieu.longo@arm.com>
Fri, 7 Jun 2024 15:59:57 +0000 (16:59 +0100)
committerMatthieu Longo <matthieu.longo@arm.com>
Fri, 8 Nov 2024 11:35:46 +0000 (11:35 +0000)
gas/config/tc-aarch64.c

index 4970acee19b8a8249d5f11c4b2d0e63c3fee72c1..d272a5735fe13c222a22d4a4849d9c441eaf66a7 100644 (file)
@@ -6245,7 +6245,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];