linux/tools/objtool
Mikulas Patocka 22682a07ac objtool: Fix objtool regression on x32 systems
Commit c087c6e7b5 ("objtool: Fix type of reloc::addend") failed to
appreciate cross building from ILP32 hosts, where 'int' == 'long' and
the issue persists.

As such, use s64/int64_t/Elf64_Sxword for this field and suffer the
pain that is ISO C99 printf formats for it.

Fixes: c087c6e7b5 ("objtool: Fix type of reloc::addend")
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
[peterz: reword changelog, s/long long/s64/]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/alpine.LRH.2.02.2205161041260.11556@file01.intranet.prod.int.rdu2.redhat.com
2022-05-20 12:45:30 +02:00
..
arch/x86 objtool: Reorganize cmdline options 2022-04-22 12:32:01 +02:00
Documentation objtool: Update documentation 2022-04-22 12:32:05 +02:00
include/objtool objtool: Fix objtool regression on x32 systems 2022-05-20 12:45:30 +02:00
.gitignore objtool: Rework header include paths 2021-01-13 18:13:14 -06:00
Build objtool: Ditch subcommands 2022-04-22 12:32:01 +02:00
builtin-check.c objtool: Remove --lto and --vmlinux in favor of --link 2022-04-22 12:32:05 +02:00
check.c objtool: Fix objtool regression on x32 systems 2022-05-20 12:45:30 +02:00
elf.c objtool: Fix objtool regression on x32 systems 2022-05-20 12:45:30 +02:00
Makefile objtool: Remove libsubcmd.a when make clean 2022-05-12 07:28:35 -07:00
objtool.c objtool: Ditch subcommands 2022-04-22 12:32:01 +02:00
orc_dump.c x86/unwind/orc: Change REG_SP_INDIRECT 2021-02-10 20:53:51 +01:00
orc_gen.c Merge branch 'objtool/urgent' 2021-10-07 00:40:17 +02:00
special.c objtool,x86: Replace alternatives with .retpoline_sites 2021-10-28 23:25:25 +02:00
sync-check.sh Merge branch 'x86/cpu' into WIP.x86/core, to merge the NOP changes & resolve a semantic conflict 2021-04-02 12:36:30 +02:00
weak.c objtool: Ditch subcommands 2022-04-22 12:32:01 +02:00