summaryrefslogtreecommitdiffstats
path: root/libc/bionic/libc_init_static.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2009-11-17 14:13:38 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2009-11-18 10:36:25 -0800
commitb74ceb25aae555570df64fa4d4076272733a9a20 (patch)
tree3bf49e716722b67f4b0f0bcb391156bf29fa6ad0 /libc/bionic/libc_init_static.c
parente8870ffc965d553a885f63b26e724da279728b72 (diff)
downloadbionic-b74ceb25aae555570df64fa4d4076272733a9a20.zip
bionic-b74ceb25aae555570df64fa4d4076272733a9a20.tar.gz
bionic-b74ceb25aae555570df64fa4d4076272733a9a20.tar.bz2
Split libc_debug.so into two .so modules loaded on demand from libc.so
This change is intended to eliminate need to replace libc.so with libc_debug.so in order to enablememory allocation debugging. This is also the first step towards implementing extended memoryallocation debugging using emulator's capabilities in monitoring memory access.
Diffstat (limited to 'libc/bionic/libc_init_static.c')
-rw-r--r--libc/bionic/libc_init_static.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/bionic/libc_init_static.c b/libc/bionic/libc_init_static.c
index e6264bb..d097b6b 100644
--- a/libc/bionic/libc_init_static.c
+++ b/libc/bionic/libc_init_static.c
@@ -68,12 +68,6 @@ __noreturn void __libc_init(uintptr_t *elfdata,
/* Initialize the C runtime environment */
__libc_init_common(elfdata);
-#ifdef MALLOC_LEAK_CHECK
- /* setup malloc leak checker, requires system properties */
- extern void malloc_debug_init(void);
- malloc_debug_init();
-#endif
-
/* Several Linux ABIs don't pass the onexit pointer, and the ones that
* do never use it. Therefore, we ignore it.
*/