aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/parse-options.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-04-17 15:03:40 +0000
committerPeter Zijlstra <[email protected]>2022-04-22 10:13:55 +0000
commitc087c6e7b551b7f208c0b852304f044954cf2bb3 (patch)
treededb165441c56244675fffdd2bb8ce45840b4add /tools/lib/subcmd/parse-options.c
parentobjtool: Fix function fallthrough detection for vmlinux (diff)
downloadkernel-c087c6e7b551b7f208c0b852304f044954cf2bb3.tar.gz
kernel-c087c6e7b551b7f208c0b852304f044954cf2bb3.zip
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: 627fce14809b ("objtool: Add ORC unwind table generation") Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/lib/subcmd/parse-options.c')
0 files changed, 0 insertions, 0 deletions