* [COMMITTED] Fix typo in riscv-dis.c comment
@ 2023-07-28 3:37 Tsukasa OI
0 siblings, 0 replies; only message in thread
From: Tsukasa OI @ 2023-07-28 3:37 UTC (permalink / raw)
Cc: Tsukasa OI, binutils
From: Tsukasa OI <research_trasio@irq.a4lg.com>
Don't go "past" the start of the section.
---
opcodes/riscv-dis.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index 2826248f8afa..138eed8d31f3 100644
--- 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 pass the start
+ look forwards and try to find it again, but don't go past 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)
base-commit: f921e120da78adc973610df81f01ea37b369e13f
--
2.41.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-28 3:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28 3:37 [COMMITTED] Fix typo in riscv-dis.c comment Tsukasa OI
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).