]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
opcodes/aarch64: make aarch64_opnd_qualifiers[] static const
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Aug 2025 07:16:56 +0000 (09:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Aug 2025 07:16:56 +0000 (09:16 +0200)
There's no reason to allow the array to be modifiable, nor for it to be
globally visible.

opcodes/aarch64-opc.c

index 9c4e181c9a79b4fe3d258e46d26c532f6478071b..7e7875b826a09252ef16631433a677361fc4b059 100644 (file)
@@ -814,7 +814,7 @@ struct operand_qualifier_data
 };
 
 /* Indexed by the operand qualifier enumerators.  */
-struct operand_qualifier_data aarch64_opnd_qualifiers[] =
+static const struct operand_qualifier_data aarch64_opnd_qualifiers[] =
 {
   {0, 0, 0, "NIL", OQK_NIL},