diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-02-14 21:25:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-02-14 21:25:50 +0000 |
commit | 43c59a705b67a3078cb1d8fd8ff6ce00ea9bdeee (patch) | |
tree | 86f2fd362b0471498253d720e5c14a5a6d69daf5 /csu | |
parent | e38c954b3bebd37f7519202d918cf0f1edbdd182 (diff) | |
download | glibc-43c59a705b67a3078cb1d8fd8ff6ce00ea9bdeee.zip glibc-43c59a705b67a3078cb1d8fd8ff6ce00ea9bdeee.tar.gz glibc-43c59a705b67a3078cb1d8fd8ff6ce00ea9bdeee.tar.bz2 |
* csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
isn't defined.
* sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
if SHARED isn't defined.
* elf/Makefile (tests-static): Add tst-array1-static.
($(objpfx)tst-array1-static.out): New target.
* elf/tst-array1-static.c: New file.
Diffstat (limited to 'csu')
-rw-r--r-- | csu/elf-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/elf-init.c b/csu/elf-init.c index 691e27f..7ac7944 100644 --- a/csu/elf-init.c +++ b/csu/elf-init.c @@ -92,7 +92,7 @@ __libc_csu_init (void) void __libc_csu_fini (void) { -#if 0 +#ifndef LIBC_NONSHARED #ifdef HAVE_INITFINI_ARRAY size_t i = __fini_array_end - __fini_array_start; while (i-- > 0) |