Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Improve handling of mapping symbols with dot suffix
This commit makes minor improvements to mapping symbols (executable) handling with a dot suffix. 1. Use size_t instead of int 2. Allocate minimum size for the architectural string buffer. 3. memcpy instead of strncpy because we know the exact size to copy. 4. Minor variable naming changes. opcodes/ChangeLog: * riscv-dis.c (riscv_get_map_state): Minor improvements to handling of executable mapping symbols with dot suffix.
- Loading branch information