kernel_optimize_test/arch/s390/boot
Gerald Schaefer ac49303d9e s390/kaslr: add support for R_390_GLOB_DAT relocation type
Commit "bpf: Process in-kernel BTF" in linux-next introduced an undefined
__weak symbol, which results in an R_390_GLOB_DAT relocation type. That
is not yet handled by the KASLR relocation code, and the kernel stops with
the message "Unknown relocation type".

Add code to detect and handle R_390_GLOB_DAT relocation types and undefined
symbols.

Fixes: 805bc0bc23 ("s390/kernel: build a relocatable kernel")
Cc: <stable@vger.kernel.org> # v5.2+
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-10-22 17:55:51 +02:00
..
compressed
.gitignore
als.c
boot.h
cmdline.c
ctype.c
ebcdic.c
head_kdump.S
head.S
install.sh
ipl_parm.c
ipl_report.c
ipl_vmparm.c
kaslr.c
machine_kexec_reloc.c
Makefile
mem_detect.c
mem.S
pgm_check_info.c
sclp_early_core.c
startup.c
string.c
text_dma.S
uv.c
version.c