aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/randomalloc.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2024-01-16 13:52:27 +0000
committerArd Biesheuvel <[email protected]>2024-01-23 13:31:33 +0000
commitd2baf8cc82c17459fca019a12348efcf86bfec29 (patch)
treef2625c350976c8a96ff858539e789220a5890a65 /drivers/firmware/efi/libstub/randomalloc.c
parentriscv/efistub: Ensure GP-relative addressing is not used (diff)
downloadkernel-d2baf8cc82c17459fca019a12348efcf86bfec29.tar.gz
kernel-d2baf8cc82c17459fca019a12348efcf86bfec29.zip
riscv/efistub: Tighten ELF relocation check
The EFI stub makefile contains logic to ensure that the objects that make up the stub do not contain relocations that require runtime fixups (typically to account for the runtime load address of the executable) On RISC-V, we also avoid GP based relocations, as they require that GP is assigned the correct base in the startup code, which is not implemented in the EFI stub. So add these relocation types to the grep expression that is used to carry out this check. Link: https://lkml.kernel.org/r/42c63cb9-87d0-49db-9af8-95771b186684%40siemens.com Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/firmware/efi/libstub/randomalloc.c')
0 files changed, 0 insertions, 0 deletions