From: Tsukasa OI Date: Fri, 28 Jul 2023 03:33:39 +0000 (+0000) Subject: Fix typo in riscv-dis.c comment X-Git-Tag: binutils-2_41-release~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdc5ba89ca821fb55726fd6ef2d11e851af463a4;p=thirdparty%2Fbinutils-gdb.git Fix typo in riscv-dis.c comment Don't go "past" the start of the section. --- diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c index 2826248f8af..138eed8d31f 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)