mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +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_32.c | ||
relocs_64.c | ||
relocs_common.c | ||
relocs.c | ||
relocs.h |