summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-22 01:05:28 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-11-09 15:43:19 -0800
commitf4467619f9ca5c76b6a23e9da85d6fc45a996d04 (patch)
tree0313e9cb0995dea80e27d7947521d1f9d32a69b7 /libpthread/linuxthreads.old/sysdeps
parent90edcff5979e74581a713899b35eb54517f80de6 (diff)
downloaduClibc-alpine-f4467619f9ca5c76b6a23e9da85d6fc45a996d04.tar.bz2
uClibc-alpine-f4467619f9ca5c76b6a23e9da85d6fc45a996d04.tar.xz
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>
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/pthread/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h b/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h
index 38d566731..b1dcd1417 100644
--- a/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h
+++ b/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h
@@ -642,6 +642,7 @@ extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer,
extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer,
void (*__routine) (void *),
void *__arg) __THROW;
+libc_hidden_proto(_pthread_cleanup_push_defer)
extern void __pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer,
void (*__routine) (void *),
void *__arg) __THROW;
@@ -655,6 +656,7 @@ extern void __pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buff
extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer,
int __execute) __THROW;
+libc_hidden_proto(_pthread_cleanup_pop_restore)
extern void __pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer,
int __execute) __THROW;
#endif