From fdc5ba89ca821fb55726fd6ef2d11e851af463a4 Mon Sep 17 00:00:00 2001 From: Tsukasa OI Date: Fri, 28 Jul 2023 03:33:39 +0000 Subject: Fix typo in riscv-dis.c comment Don't go "past" the start of the section. --- opcodes/riscv-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes') diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c index 2826248..138eed8 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) -- cgit v1.1