aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-string.c
diff options
context:
space:
mode:
authorJoseph Faulls <Joseph.Faulls@imgtec.com>2024-05-15 06:59:58 +0800
committerNelson Chu <nelson@rivosinc.com>2024-05-15 07:01:54 +0800
commit7a7ec56c811f5c12dde96418e514a419e9ef43d0 (patch)
tree102216531f1e7a6dab6c9a206348b2f1b5586936 /libctf/ctf-string.c
parentda3ce5c46e1d5a87f2d3cb90cbc1b67a3b8fbb34 (diff)
downloadbinutils-7a7ec56c811f5c12dde96418e514a419e9ef43d0.zip
binutils-7a7ec56c811f5c12dde96418e514a419e9ef43d0.tar.gz
binutils-7a7ec56c811f5c12dde96418e514a419e9ef43d0.tar.bz2
RISC-V: Search for mapping symbols from the last one found
With previous behaviour, multiple mapping symbols within the same function would result in all the mapping symbols being searched. This could slow down disassembly dramatically. Multiple mapping symbols within a function can be a result of encoding instructions as data, like sometimes seen in random instruction generators. opcodes/ChangeLog: * riscv-dis.c (riscv_search_mapping_symbol): Use last mapping symbol if it exists.
Diffstat (limited to 'libctf/ctf-string.c')
0 files changed, 0 insertions, 0 deletions