opcodes/riscv: make riscv_options[] const

There's no reason to allow the array to be modifiable. In fact the
compiler is able to infer this, placing the array in .data.rel.ro, but
let's make it explicit.
This commit is contained in:
Jan Beulich
2025-08-01 09:18:15 +02:00
parent b2250bfa94
commit f67b2bc9d9

View File

@@ -1612,7 +1612,7 @@ typedef enum
/* Valid RISCV disassembler options. */
static struct
static const struct
{
const char *name;
const char *description;