From: Ard Biesheuvel <[email protected]> v2: - implement minimal PC32 support for MIPS so it can tolerate the symbol references emitted by kallsyms - use signed decimal to represent the offset, so that symbols appearing before _text can be represented correctly. - add Kees's ack
Cc: Nathan Chancellor <[email protected]> Cc: Nicolas Schier <[email protected]> Cc: Kees Cook <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: Kees Cook <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Ard Biesheuvel (2): mips: Add support for PC32 relocations in vmlinux kallsyms: Get rid of kallsyms relative base arch/mips/boot/tools/relocs.c | 2 + arch/mips/include/asm/elf.h | 2 + kernel/kallsyms.c | 6 +- kernel/kallsyms_internal.h | 1 - kernel/vmcore_info.c | 1 - scripts/kallsyms.c | 64 ++++++-------------- scripts/link-vmlinux.sh | 4 ++ tools/perf/tests/vmlinux-kallsyms.c | 1 - 8 files changed, 29 insertions(+), 52 deletions(-) -- 2.52.0.457.g6b5491de43-goog
