Re: [PATCH] ARM: Remove unused .fixup section in boot stub

From: Ard Biesheuvel
Date: Sat Feb 08 2020 - 04:16:01 EST


On Sat, 8 Feb 2020 at 09:04, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> The boot stub does not emit a .fixup section at all anymore, so remove
> it.
>
> Suggested-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> Link: https://lore.kernel.org/lkml/CAKwvOdnRhx=SgtcUCyX2ZOGATM8OzG6hSOY9wGQZcwtp+P5WBQ@xxxxxxxxxxxxxx
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Reviewed-by: Ard Biesheuvel <ardb@xxxxxxxxxx>

I'd assume these are uncontroversial enough to go straight into the
patch system.

> ---
> arch/arm/boot/compressed/vmlinux.lds.S | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/compressed/vmlinux.lds.S b/arch/arm/boot/compressed/vmlinux.lds.S
> index fc7ed03d8b93..b247f399de71 100644
> --- a/arch/arm/boot/compressed/vmlinux.lds.S
> +++ b/arch/arm/boot/compressed/vmlinux.lds.S
> @@ -36,7 +36,6 @@ SECTIONS
> *(.start)
> *(.text)
> *(.text.*)
> - *(.fixup)
> *(.gnu.warning)
> *(.glue_7t)
> *(.glue_7)
> --
> 2.20.1
>
>
> --
> Kees Cook