OSDN Git Service

libc: add hidden calls to pthread cleanup funcs
authorMike Frysinger <vapier@gentoo.org>
Thu, 22 Oct 2009 05:05:28 +0000 (01:05 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 22 Oct 2009 05:05:28 +0000 (01:05 -0400)
commite0ac4efbdb498319f03a2a95d75d061ab6c68491
treec12cb503e64aaf246829260002cef30817b4b677
parent3aa584adcfa3a1ed4292d99e5fa2a6bc578f8b80
libc: add hidden calls to pthread cleanup funcs

A lot of libc code calls the pthread cleanup funcs implicitly (for stdio)
which currently goes through the PLT.  Since we already have forwarding
symbols for these funcs, it's safe to declare the internal libc usage
hidden as a loaded libpthread will have the real symbols found.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libpthread/linuxthreads.old/forward.c
libpthread/linuxthreads.old/sysdeps/pthread/pthread.h