projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f921e12
)
Fix typo in riscv-dis.c comment
author
Tsukasa OI
<research_trasio@irq.a4lg.com>
Fri, 28 Jul 2023 03:33:39 +0000
(
03:33
+0000)
committer
Tsukasa OI
<research_trasio@irq.a4lg.com>
Fri, 28 Jul 2023 03:33:39 +0000
(
03:33
+0000)
Don't go "past" the start of the section.
opcodes/riscv-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/riscv-dis.c
b/opcodes/riscv-dis.c
index 2826248f8afa7d266d84776fb925204532bc4255..138eed8d31f39016045bb5699943d2319a8871b3 100644
(file)
--- a/
opcodes/riscv-dis.c
+++ b/
opcodes/riscv-dis.c
@@
-939,7
+939,7
@@
riscv_search_mapping_symbol (bfd_vma memaddr,
}
/* We can not find the suitable mapping symbol above. Therefore, we
- look forwards and try to find it again, but don't go pas
s
the start
+ look forwards and try to find it again, but don't go pas
t
the start
of the section. Otherwise a data section without mapping symbols
can pick up a text mapping symbol of a preceeding section. */
if (!found)