x86/boot: Get rid of the .head.text section

The .head.text section is now empty, so it can be dropped from the
linker script.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250828102202.1849035-46-ardb+git@google.com
This commit is contained in:
Ard Biesheuvel 2025-08-28 12:22:25 +02:00 committed by Borislav Petkov (AMD)
parent c5c30a3736
commit ce39a6aa88

View file

@ -160,11 +160,6 @@ SECTIONS
} :text = 0xcccccccc
/* bootstrapping code */
.head.text : AT(ADDR(.head.text) - LOAD_OFFSET) {
HEAD_TEXT
} :text = 0xcccccccc
/* End of text section, which should occupy whole number of pages */
_etext = .;
. = ALIGN(PAGE_SIZE);