efi/arm: Remove __efistub_global annotation
authorArvind Sankar <nivedita@alum.mit.edu>
Thu, 16 Apr 2020 15:12:25 +0000 (11:12 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 24 Apr 2020 12:52:16 +0000 (14:52 +0200)
commit420b6d00ca94ce5b6578b1bc12e767ac7a0251ac
tree042722c40fb02ca3c4994040765caacc49414ad4
parent685d8164b5da3aeb75b0320fd3a3bf75e4f9c51e
efi/arm: Remove __efistub_global annotation

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.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20200416151227.3360778-2-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/boot/compressed/vmlinux.lds.S
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/efistub.h