[PATCH 02/15] Initialize the stack guard earlier when linking statically.

Nix nix@esperi.org.uk
Thu Dec 22 22:38:00 GMT 2016


On 21 Dec 2016, Florian Weimer verbalised:

> On 12/21/2016 03:16 PM, Florian Weimer wrote:
>> I'm changing this to call __libc_setup_tls directly.  This functions is
>> in csu/ and thus automatically exempted from stack protection.  There is
>> no need to go indirectly through a definition in nptl/.

Agreed, that's much better: that indirection was always a bit nasty and
I'm glad we can do without it now. The code motion in LIBC_START_MAIN is
the delicate part, and that still looks fine.

-- 
NULL && (void)



More information about the Libc-alpha mailing list