]> sourceware.org Git - glibc.git/commitdiff
2002-12-06 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 6 Dec 2002 11:11:08 +0000 (11:11 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 6 Dec 2002 11:11:08 +0000 (11:11 +0000)
* 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.

malloc/Versions

index 98be892b489c2b29364cf5b2bd7cbdf836867fc4..bef99d31dc7785a7d1777f27ce9c1da244ed3e11 100644 (file)
@@ -55,4 +55,8 @@ libc {
     # p*
     posix_memalign;
   }
+  GLIBC_PRIVATE {
+    # Internal startup hook for libpthread.
+    __libc_malloc_pthread_startup;
+  }
 }
This page took 0.039199 seconds and 5 git commands to generate.