diff options
author | Mikulas Patocka <[email protected]> | 2022-05-16 11:06:36 -0400 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-05-20 12:45:30 +0200 |
commit | 22682a07acc308ef78681572e19502ce8893c4d4 (patch) | |
tree | 3b1e6bd91995a8548dc16c4d4e8aabe9f59a89d6 /lib/mpi/mpi-sub-ui.c | |
parent | ead165fa1042247b033afad7be4be9b815d04ade (diff) |
objtool: Fix objtool regression on x32 systems
Commit c087c6e7b551 ("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: c087c6e7b551 ("objtool: Fix type of reloc::addend")
Signed-off-by: Mikulas Patocka <[email protected]>
[peterz: reword changelog, s/long long/s64/]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/alpine.LRH.2.02.2205161041260.11556@file01.intranet.prod.int.rdu2.redhat.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions