Re: [PATCH -next] arm32/boot/compressed: Force hidden visibility for all symbol references
From: Russell King (Oracle)
Date: Fri Jan 24 2025 - 10:35:00 EST
On Fri, Jan 24, 2025 at 03:00:10PM +0100, Ard Biesheuvel wrote:
> On Fri, 24 Jan 2025 at 09:31, Yuntao Liu <liuyuntao12@xxxxxxxxxx> wrote:
> >
> > Eliminate all GOT entries in the decompressor binary, by forcing hidden
> > visibility for all symbol references, which informs the compiler that
> > such references will be resolved at link time without the need for
> > allocating GOT entries.
> >
> > Include linux/hidden.h in Makefile, like x86, for the
> > hidden visibility attribute.
> >
> > Signed-off-by: Yuntao Liu <liuyuntao12@xxxxxxxxxx>
>
> Doesn't this break appended DTB?
Yes. It also breaks ZBOOT_ROM=y as well.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!