Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Make mapping symbol checking consistent
There were two places where the mapping symbols are checked but had different conditions. - riscv_get_map_state: "$x" or "$d" - riscv_elf_is_mapping_symbols: Starts with either "$x" or "$d" Considering recent proposals and Nelson's "RISC-V: Output mapping symbols with ISA string once .option arch is used.", it's better to make symbol checking consistent (whether the symbol _starts_ with "$[xd]"). opcodes/ChangeLog: * riscv-dis.c (riscv_get_map_state): Change the condition for consistency.
- Loading branch information