[tip: x86/core] x86: Remove .fixup section

From: tip-bot2 for Peter Zijlstra
Date: Mon Dec 13 2021 - 05:17:46 EST


The following commit has been merged into the x86/core branch of tip:

Commit-ID: e5eefda5aa51f3178821b58806e1dddd798c0934
Gitweb: https://git.kernel.org/tip/e5eefda5aa51f3178821b58806e1dddd798c0934
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
AuthorDate: Wed, 10 Nov 2021 11:01:24 +01:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Sat, 11 Dec 2021 09:09:50 +01:00

x86: Remove .fixup section

No moar users, kill it dead.

Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20211110101326.201590122@xxxxxxxxxxxxx
---
arch/x86/entry/vdso/vdso-layout.lds.S | 1 -
arch/x86/kernel/vmlinux.lds.S | 1 -
2 files changed, 2 deletions(-)

diff --git a/arch/x86/entry/vdso/vdso-layout.lds.S b/arch/x86/entry/vdso/vdso-layout.lds.S
index dc8da76..bafa73f 100644
--- a/arch/x86/entry/vdso/vdso-layout.lds.S
+++ b/arch/x86/entry/vdso/vdso-layout.lds.S
@@ -77,7 +77,6 @@ SECTIONS

.text : {
*(.text*)
- *(.fixup)
} :text =0x90909090,


diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 3d6dc12..27f8303 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -137,7 +137,6 @@ SECTIONS
ALIGN_ENTRY_TEXT_END
SOFTIRQENTRY_TEXT
STATIC_CALL_TEXT
- *(.fixup)
*(.gnu.warning)

#ifdef CONFIG_RETPOLINE