linux-xiaomi-chiron/tools/objtool/include/objtool
Peter Zijlstra 7bd2a600f3 objtool: Cache instruction relocs
Track the reloc of instructions in the new instruction->reloc field
to avoid having to look them up again later.

( Technically x86 instructions can have two relocations, but not jumps
  and calls, for which we're using this. )

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lkml.kernel.org/r/20210326151300.195441549@infradead.org
2021-04-02 12:46:15 +02:00
..
arch.h objtool: Keep track of retpoline call sites 2021-04-02 12:45:27 +02:00
builtin.h clang-lto for v5.12-rc1 (part2) 2021-02-23 15:13:45 -08:00
cfi.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00
check.h objtool: Cache instruction relocs 2021-04-02 12:46:15 +02:00
elf.h objtool: Add elf_create_undef_symbol() 2021-04-02 12:45:05 +02:00
endianness.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00
objtool.h objtool: Keep track of retpoline call sites 2021-04-02 12:45:27 +02:00
special.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00
warn.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00