aboutsummaryrefslogtreecommitdiff
path: root/malloc/Versions
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-06 11:11:08 +0000
committerRoland McGrath <roland@gnu.org>2002-12-06 11:11:08 +0000
commitd58847f9529bd81ff603e3a2beff7c6306165dac (patch)
tree32dbd9c76f61bdb52088374c897bab2f2b032c40 /malloc/Versions
parentc4737dc91f8ea706ff04657376bc5caa8b1983a6 (diff)
downloadglibc-d58847f9529bd81ff603e3a2beff7c6306165dac.zip
glibc-d58847f9529bd81ff603e3a2beff7c6306165dac.tar.gz
glibc-d58847f9529bd81ff603e3a2beff7c6306165dac.tar.bz2
2002-12-06 Roland McGrath <roland@redhat.com>
* malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] (malloc_starter, memalign_starter, free_starter): Don't define these. * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: Don't declare them either. * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call __pthread_initialize, so no need to set hooks to *_starter. (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. [_LIBC && SHARED && USE_TLS && !USE___THREAD] (__libc_malloc_pthread_startup): New function. * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.
Diffstat (limited to 'malloc/Versions')
-rw-r--r--malloc/Versions4
1 files changed, 4 insertions, 0 deletions
diff --git a/malloc/Versions b/malloc/Versions
index 98be892..bef99d3 100644
--- a/malloc/Versions
+++ b/malloc/Versions
@@ -55,4 +55,8 @@ libc {
# p*
posix_memalign;
}
+ GLIBC_PRIVATE {
+ # Internal startup hook for libpthread.
+ __libc_malloc_pthread_startup;
+ }
}