mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
05a2ae7c03
The inat-tables.c file has some arrays in it that contain pointers to other arrays. These pointers need to be relocated when the kernel image is moved to a different location. The pre-decompression boot-code has no support for applying ELF relocations, so initialize these arrays at runtime in the pre-decompression code to make sure all pointers are correctly initialized. Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Link: https://lkml.kernel.org/r/20200907131613.12703-8-joro@8bytes.org |
||
---|---|---|
.. | ||
.gitignore | ||
chkobjdump.awk | ||
gen-insn-attr-x86.awk | ||
insn_decoder_test.c | ||
insn_sanity.c | ||
Makefile | ||
objdump_reformat.awk | ||
relocs.c | ||
relocs.h | ||
relocs_32.c | ||
relocs_64.c | ||
relocs_common.c |