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)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 9 Nov 2009 23:34:18 +0000 (15:34 -0800)
commitc7e4f11335adcdad03e24ad2648b873f116337aa
tree36792c3a1a6438a0d882d82f75446e6308139d0d
parent1a39ca7231bd4c009c40255e7a20adbed3e31890
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>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libpthread/linuxthreads.old/forward.c
libpthread/linuxthreads.old/sysdeps/pthread/pthread.h