[hurd,commited]: Fix static initialization with -fstack-protector-strong
Samuel Thibault
samuel.thibault@ens-lyon.org
Fri Sep 15 21:22:00 GMT 2017
Nick Alcock, on ven. 15 sept. 2017 17:38:38 +0100, wrote:
> On 27 Aug 2017, Samuel Thibault outgrape:
> > When linked statically, TLS initialization is not achieved before
> > mach_init and alike, so ssp accesses to tcbhead's stack_guard would
> > crash. We can just avoid using ssp in the few functions needed before
> > TLS is set up.
>
> Oh blast I forgot all about Hurd didn't I.
>
> Sorry.
No problem. Determining which functions need it is not trivial anyway :)
Samuel
More information about the Libc-alpha
mailing list