]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: riscv_parse_subset_t's isa_spec is only parser input
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Jun 2026 09:10:12 +0000 (11:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jun 2026 09:10:12 +0000 (11:10 +0200)
commit413cf36d8e816f8fbbe30d73e118416281c231e4
tree6764e89b688bc51524c4e18d75b131bdb8beba4d
parentaa04700525c30e140cdab646b72e31faa1608077
RISC-V: riscv_parse_subset_t's isa_spec is only parser input

Make the field pointer-to-const and drop indirection from
riscv_get_default_ext_version(). This way it's more clear that parsing
won't alter the field.

Reviewed-by: Jiawei <jiawei@iscas.ac.cn>
bfd/elfxx-riscv.c
bfd/elfxx-riscv.h