]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: Rename page table BSS section to .bss..pgtbl
authorArd Biesheuvel <ardb@kernel.org>
Thu, 4 Jun 2026 15:11:53 +0000 (17:11 +0200)
committerWill Deacon <will@kernel.org>
Fri, 5 Jun 2026 10:44:09 +0000 (11:44 +0100)
commit9c401fa7398fc2362b57e7d8b2ea1ab440d8b39f
tree049ec508804196a8586f68136b69854580fa9dcb
parent63e0b6a5b6934d6a919d1c65ea185303200a1874
arm64: Rename page table BSS section to .bss..pgtbl

Rename the .pgdir.bss section to .bss..pgtbl so that the compiler will
notice the leading ".bss" and mark it as NOBITS by default (rather than
PROGBITS, which would take up space in Image binary, forcing all of the
preceding BSS to be emitted into the image as well). This supersedes the
NOLOAD linker directive, which achieves the same thing, and can be
therefore be dropped.

Also, rename .pgdir to .pgtbl to be more generic, as page tables of
various levels will reside here.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/linkage.h
arch/arm64/include/asm/mmu.h
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/mm/fixmap.c
arch/arm64/mm/kasan_init.c