summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-01 20:17:12 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-01 20:17:12 +0000
commit8ae1e1d1cc6b337853332fd7ffd968f44745a6d1 (patch)
tree04d0966ede0994f34a9fe80f21dda442c1825461
parent35d1f3a8ef3ae62dbba9debe9f768ca93392209c (diff)
minor cosmetic cleanup
-rw-r--r--ldso/ldso/ldso.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index d1073b334..f68f703ec 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -823,20 +823,23 @@ next_lib2:
}
}
#ifndef _DL_DO_FINI_IN_LIBC
-/* arches that has moved their ldso FINI handling should ship this part */
+ /* arches that have moved their ldso FINI handling should skip this part */
{
- int (*_dl_atexit) (void *) = (int (*)(void *)) (intptr_t) _dl_find_hash("atexit", _dl_symbol_tables, NULL, ELF_RTYPE_CLASS_PLT);
+ int (*_dl_atexit) (void *) = (int (*)(void *)) (intptr_t) _dl_find_hash("atexit",
+ _dl_symbol_tables, NULL, ELF_RTYPE_CLASS_PLT);
if (_dl_atexit)
(*_dl_atexit) (_dl_fini);
- /* Notify the debugger that all objects are now mapped in. */
}
#endif
- _dl_debug_addr->r_state = RT_CONSISTENT;
- _dl_debug_state();
/* Find the real malloc function and make ldso functions use that from now on */
- _dl_malloc_function = (void* (*)(size_t)) (intptr_t) _dl_find_hash("malloc", _dl_symbol_tables, NULL, ELF_RTYPE_CLASS_PLT);
+ _dl_malloc_function = (void* (*)(size_t)) (intptr_t) _dl_find_hash("malloc",
+ _dl_symbol_tables, NULL, ELF_RTYPE_CLASS_PLT);
+
+ /* Notify the debugger that all objects are now mapped in. */
+ _dl_debug_addr->r_state = RT_CONSISTENT;
+ _dl_debug_state();
}
char *_dl_getenv(const char *symbol, char **envp)