On Wed, Jun 10, 2020 at 10:00:19AM +0200, Ard Biesheuvel wrote: > On Wed, 10 Jun 2020 at 09:58, Will Deacon <will@xxxxxxxxxx> wrote: > > > > On Thu, Jun 04, 2020 at 11:20:30AM +0900, Masahiro Yamada wrote: > > > Since commit 799c43415442 ("kbuild: thin archives make default for > > > all archs"), core-y is passed to the linker with --whole-archive. > > > Hence, the whole of stub library is linked to vmlinux. > > > > > > Use libs-y so that lib.a is passed after --no-whole-archive for > > > conditional linking. > > > > > > The unused drivers/firmware/efi/libstub/relocate.o will be dropped > > > for ARCH=arm64. > > > > > > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> > > > --- > > > > > > This patch touches under arch/arm64/, but > > > this is more related to efi. > > > I am sending this to Ard. > > > > Ok, I'll ignore this then. Ard -- please yell if you want me to do anything > > else with it. > > > > I am going to send a batch of EFI fixes early next week, so I can take > this as well, or alternatively, you can apply it directly. No, please take it. Just wanted to make sure it didn't slip through the cracks, that's all. Will