mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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.
This commit is contained in:
parent
c4737dc91f
commit
d58847f952
@ -55,4 +55,8 @@ libc {
|
||||
# p*
|
||||
posix_memalign;
|
||||
}
|
||||
GLIBC_PRIVATE {
|
||||
# Internal startup hook for libpthread.
|
||||
__libc_malloc_pthread_startup;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user