[PATCH] Makefile: Clean up pthread_atfork integration

Andreas Schwab schwab@suse.de
Wed Mar 12 11:45:23 GMT 2025


On Mär 12 2025, Florian Weimer wrote:

> Do not add the pthread_atfork routine again in nptl/Makefile,
> instead rely on sysdeps/pthread/Makefile for the integration
> (as this is the directory that contains the source file).
>
> In sysdeps/pthread/Makefile, add to static-only-routines.
>
> Checked that the built libc_nonshared.a, libc.a, libc.so.6 are unchanged
> after this change on x86_64-linux-gnu.  (Link order changed, so for
> libc.a, the pthread_atfork disassembly fragment moved around, but is
> otherwise unchanged.)

Ok.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list