Re: [PATCH 3/9] efi/x86: Move efi stub globals from .bss to .data

Arvind Sankar
2020-04-09T21:08:52Z

On Thu, Apr 09, 2020 at 04:53:07PM -0400, Brian Gerst wrote:
> > Can we use the -fno-zero-initialized-in-bss compiler flag instead of
> > explicitly marking global variables?
>
> Scratch that. Apparently it only works when a variable is explicitly
> initialized to zero.
>
> --
> Brian Gerst

Right, there doesn't seem to be a compiler option to turn off the use of
.bss altogether.