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

From: Nick Desaulniers
Date: Sat Feb 08 2020 - 05:05:55 EST


On Sat, Feb 8, 2020 at 10:04 AM 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>

thanks for the patch!
Reviewed-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>

> ---
> 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



--
Thanks,
~Nick Desaulniers