Messages in this thread | | | Date | Wed, 17 Mar 2021 14:37:57 +0000 | From | Catalin Marinas <> | Subject | Re: [PATCH] [RFC] arm64: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION |
| |
On Thu, Feb 25, 2021 at 12:20:56PM +0100, Arnd Bergmann wrote: > diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S > index bad2b9eaab22..926cdb597a45 100644 > --- a/arch/arm64/kernel/vmlinux.lds.S > +++ b/arch/arm64/kernel/vmlinux.lds.S > @@ -217,7 +217,7 @@ SECTIONS > INIT_CALLS > CON_INITCALL > INIT_RAM_FS > - *(.init.altinstructions .init.bss .init.bss.*) /* from the EFI stub */ > + *(.init.altinstructions .init.data.* .init.bss .init.bss.*) /* from the EFI stub */
INIT_DATA already covers .init.data and .init.data.*, so I don't think we need this change.
Also, mainline doesn't have .init.bss.*, do you know where this came from? I can't find it in -next either.
-- Catalin
| |