lkml.org 
[lkml]   [2021]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 22/22] x86: Remove .fixup section
On Thu, Nov 04, 2021 at 05:47:51PM +0100, Peter Zijlstra wrote:
> No moar user, kill it dead.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> ---
> arch/x86/entry/vdso/vdso-layout.lds.S | 1 -
> arch/x86/kernel/vmlinux.lds.S | 1 -
> 2 files changed, 2 deletions(-)
>
> --- 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,
>
>
> --- 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

Objtool also has a reference to .fixup.

--
Josh

\
 
 \ /
  Last update: 2021-11-05 00:01    [W:1.531 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site