[PATCH] Makefile: Clean up pthread_atfork integration
Joseph Myers
josmyers@redhat.com
Wed Mar 12 11:32:36 GMT 2025
On Wed, 12 Mar 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.
Reviewed-by: Joseph Myers <josmyers@redhat.com>
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list