]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
opcodes/riscv: make riscv_options[] const
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Aug 2025 07:18:15 +0000 (09:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Aug 2025 07:18:15 +0000 (09:18 +0200)
commitf67b2bc9d9e0e7ef2ad4bc2f05da940556ebb451
tree60c765ed80b5cf61aecb6ce96df6d33d7a7fafbe
parentb2250bfa948be835b8bf7e19f1d3a822a4d54073
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.
opcodes/riscv-dis.c