diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-08-28 12:22:25 +0200 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-09-03 18:06:32 +0200 |
| commit | ce39a6aa8802e718f9b68bf6892612e4fd7f9d2d (patch) | |
| tree | 4facfbd0c4979aa19da14b5f5978867aa460ad3b | |
| parent | c5c30a37369313d1f8b84e96e6a4397b4e2b4eb8 (diff) | |
| download | linux-ce39a6aa8802e718f9b68bf6892612e4fd7f9d2d.tar.gz linux-ce39a6aa8802e718f9b68bf6892612e4fd7f9d2d.zip | |
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
| -rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 4277efb26358..d7af4a64c211 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -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); |
