Sami Tolvanen 6b5dd716da objtool: optimize add_dead_ends for split sections
Instead of iterating through all instructions to find the last
instruction each time .rela.discard.(un)reachable points beyond the
section, use find_insn to locate the last instruction by looking at
the last bytes of the section instead.

Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200421220843.188260-3-samitolvanen@google.com
2020-05-15 10:35:13 +02:00
..
2020-04-03 13:12:26 -07:00
2020-04-22 10:53:50 +02:00
2020-04-05 10:36:18 -07:00
2020-04-02 17:57:10 +01:00
2020-04-03 13:12:26 -07:00
2020-04-03 13:12:26 -07:00
2020-04-21 11:11:56 -07:00