Searched hist:"26 a92425f9a301fdeb5482e7891915ce43cc0556" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | vmlinux.lds.S | diff 26a92425f9a301fdeb5482e7891915ce43cc0556 Thu Apr 16 10:12:26 CDT 2020 Arvind Sankar <nivedita@alum.mit.edu> efi/x86: Remove __efistub_global and add relocation check
Instead of using __efistub_global to force variables into the .data section, leave them in the .bss but pull the EFI stub's .bss section into .data in the linker script for the compressed kernel.
Add relocation checking for x86 as well to catch non-PC-relative relocations that require runtime processing, since the EFI stub does not do any runtime relocation processing.
This will catch, for example, data relocations created by static initializers of pointers.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200416151227.3360778-3-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | efistub.h | diff 26a92425f9a301fdeb5482e7891915ce43cc0556 Thu Apr 16 10:12:26 CDT 2020 Arvind Sankar <nivedita@alum.mit.edu> efi/x86: Remove __efistub_global and add relocation check
Instead of using __efistub_global to force variables into the .data section, leave them in the .bss but pull the EFI stub's .bss section into .data in the linker script for the compressed kernel.
Add relocation checking for x86 as well to catch non-PC-relative relocations that require runtime processing, since the EFI stub does not do any runtime relocation processing.
This will catch, for example, data relocations created by static initializers of pointers.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200416151227.3360778-3-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|
H A D | Makefile | diff 26a92425f9a301fdeb5482e7891915ce43cc0556 Thu Apr 16 10:12:26 CDT 2020 Arvind Sankar <nivedita@alum.mit.edu> efi/x86: Remove __efistub_global and add relocation check
Instead of using __efistub_global to force variables into the .data section, leave them in the .bss but pull the EFI stub's .bss section into .data in the linker script for the compressed kernel.
Add relocation checking for x86 as well to catch non-PC-relative relocations that require runtime processing, since the EFI stub does not do any runtime relocation processing.
This will catch, for example, data relocations created by static initializers of pointers.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200416151227.3360778-3-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|