Commit ce39a6aa authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Borislav Petkov (AMD)
Browse files

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: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250828102202.1849035-46-ardb+git@google.com
parent c5c30a37
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);