Re: [RFC PATCH 2/3] x86/boot/compressed: force hidden visibility for all symbol references
From: Arvind Sankar
Date: Wed Jan 08 2020 - 10:57:08 EST
On Wed, Jan 08, 2020 at 04:47:51PM +0100, Ard Biesheuvel wrote:
> The EFI stub already sets the hidden visibility attribute for the few
> external symbol references that it contains, so it is not needed in
> the context of this series.
>
> In the future, we can revisit this if we want to get rid of the
> various __pure getter functions, but that requires thorough testing on
> other architectures and toolchains, so I'd prefer to leave that for
> later.
We don't need it for the stub right now, but then this bit in the cover
letter is not yet true, we still need to be careful about libstub code.
> ...we can start using ordinary external symbol references in the EFI
> stub without running the risk of boot regressions.