linux/tools/objtool/include/objtool
Peter Zijlstra c087c6e7b5 objtool: Fix type of reloc::addend
Elf{32,64}_Rela::r_addend is of type: Elf{32,64}_Sword, that means
that our reloc::addend needs to be long or face tuncation issues when
we do elf_rebuild_reloc_section():

  - 107:  48 b8 00 00 00 00 00 00 00 00   movabs $0x0,%rax        109: R_X86_64_64        level4_kernel_pgt+0x80000067
  + 107:  48 b8 00 00 00 00 00 00 00 00   movabs $0x0,%rax        109: R_X86_64_64        level4_kernel_pgt-0x7fffff99

Fixes: 627fce1480 ("objtool: Add ORC unwind table generation")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20220419203807.596871927@infradead.org
2022-04-22 12:13:55 +02:00
..
arch.h objtool: Add IBT/ENDBR decoding 2022-03-15 10:32:46 +01:00
builtin.h objtool: Validate IBT assumptions 2022-03-15 10:32:46 +01:00
cfi.h objtool: Introduce CFI hash 2021-09-15 15:51:45 +02:00
check.h objtool: Read the NOENDBR annotation 2022-03-15 10:32:46 +01:00
elf.h objtool: Fix type of reloc::addend 2022-04-22 12:13:55 +02:00
endianness.h
objtool.h objtool: Fix function fallthrough detection for vmlinux 2022-04-19 21:58:53 +02:00
special.h objtool: Decode jump_entry::key addend 2021-05-12 14:54:55 +02:00
warn.h objtool: Have WARN_FUNC fall back to sym+off 2022-03-15 10:32:32 +01:00