Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Split riscv_get_map_state into two steps
Because mapping symbol optimization would remove `riscv_get_map_state' function, this commit splits symbol name checking step into a separate function `riscv_get_map_state_by_name'. Let alone the optimization, splitting the code improves readability. opcodes/ChangeLog: * riscv-dis.c (riscv_get_map_state): Split symbol name checking into a separate function. (riscv_get_map_state_by_name): New.
- Loading branch information