Files
Linux/tools/objtool
Julien Thierry 7f9b34f36c objtool: Fix off-by-one in symbol_by_offset()
Sometimes, WARN_FUNC() and other users of symbol_by_offset() will
associate the first instruction of a symbol with the symbol preceding
it.  This is because symbol->offset + symbol->len is already outside of
the symbol's range.

Fixes: 2a362ecc3e ("objtool: Optimize find_symbol_*() and read_symbols()")
Signed-off-by: Julien Thierry <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
2020-04-22 23:14:46 +02:00
..
2019-07-18 21:01:10 +02:00
2020-03-25 18:28:28 +01:00
2020-03-25 18:28:28 +01:00
2020-03-25 18:28:30 +01:00
2020-04-22 23:09:50 +02:00
2020-03-25 18:28:30 +01:00
2020-01-22 07:54:34 +01:00
2020-03-25 18:28:29 +01:00