]> git.ipfire.org Git - thirdparty/glibc.git/commit
htl: Move pthread_atfork to libc_nonshared.a
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 4 Jan 2020 17:53:23 +0000 (18:53 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 4 Jan 2020 17:55:47 +0000 (18:55 +0100)
commit50a78baa8e385fac36d54d51800dc5c61ef7f139
treebaec51d994dc22e0431fb9725da4a01d6c3acc0d
parent12e166dd80bd3056f667930719572017d25a79c4
htl: Move pthread_atfork to libc_nonshared.a

This follows bd60ce86520b ('nptl: Move pthread_atfork to libc_nonshared.a')
with the same rationale: there is no non-libpthread equivalent to be used
for making linking against libpthread optional.

libpthread_nonshared.a is unused after this, so remove it from the
build.

There is no ABI impact because pthread_atfork was implemented using
__register_atfork in libc even before this change.

pthread_atfork has to be a weak alias because pthread_* names are not
reserved in libc.
htl/Makefile
sysdeps/htl/Makeconfig
sysdeps/htl/pt-atfork.c