1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/objtool/include/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.h objtool: Add IBT/ENDBR decoding 2022-03-15 10:32:46 +01:00
builtin.h objtool: Remove --lto and --vmlinux in favor of --link 2022-04-22 12:32:05 +02: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 objtool regression on x32 systems 2022-05-20 12:45:30 +02:00
endianness.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00
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: Add option to print section addresses 2022-04-22 12:32:02 +02:00