arm64/head: avoid symbol names pointing into first 64 KB of kernel image
authorArd Biesheuvel <ardb@kernel.org>
Tue, 17 Nov 2020 12:47:28 +0000 (13:47 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 17 Nov 2020 16:14:20 +0000 (16:14 +0000)
commitb50a3225cdffef43b76b294fa7fb3cd1f32f50d0
tree3f691f4e7780a7bd7d8f36cab8a0e5e7b1d413cd
parente2a073dde9218cdef3c5431bddabf4549dd65fea
arm64/head: avoid symbol names pointing into first 64 KB of kernel image

We no longer map the first 64 KB of the kernel image, as there is nothing
there that we ever need to refer back to once the kernel has booted. Even
though facilities like kallsyms are very careful to only refer to the
region that starts at _stext when mapping virtual addresses to symbol
names, let's avoid any confusion by switching to local .L prefixed symbol
names for the EFI header, as none of them have any significance to the
rest of the kernel.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20201117124729.12642-3-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/efi-header.S