Re: [PATCH 1/2] kbuild: remove top-level built-in.a

From: Nicholas Piggin
Date: Tue Jan 15 2019 - 02:15:52 EST


Masahiro Yamada's on January 14, 2019 1:27 pm:
> The symbol table in the final archive is unneeded because it is passed
> to the linker after the --whole-archive option. Every object file in
> the archive is included in the link anyway.
>
> Pass thin archives from subdirectories directly to the linker, and
> remove the final archiving step.

This seems like a good improvement. As far as I remember, it was slower
to do the final link without the index built. Maybe I was testing it
in a revision before moving those files into --whole-archive? If there
is no slowdown, then I have no objection.

Acked-by: Nicholas Piggin <npiggin@xxxxxxxxx>