Philip Guenther wrote:
> On Wed, 13 Sep 2017, Miod Vallat wrote:
> >
> > > Forcing uextraloc into .data via
> > > int uextraloc __attribute__ ((section(".data"))) = 0;
> > > avoids the crashes.
> >
> > Regardless of this bug, the in-tree gcc was modified to default to put
> > explicitly zero initialized data in .data rather than .bss, i.e. default
> > to -fno-zero-initialized-in-bss.
> >
> > It might be wise to make the default configuration of clang follow this
> > behaviour as well.
>
> Anyone recall the issues that it was originally changed to fix?
>
> If it was the kernel config stuff, maybe we should just pass the option
> explicitly in the kernel Makefiles and not push it on all of userland.
oh, hi, that was me! yes, it was for kernel config specifically, and binary
hacking in general. the old ABI, from vaxen of yore, would leave things in
data, so that's where we wanted them to remain. but time moves on i guess.