aboutsummaryrefslogtreecommitdiff
path: root/elf/soinit.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-02 06:19:24 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-02 06:19:24 +0000
commit5d9167133cd1b614e2841eceba5d6c3828059254 (patch)
treed00e4cedc2f49111343107cad7c53ffc08ad23ef /elf/soinit.c
parent70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a (diff)
downloadglibc-5d9167133cd1b614e2841eceba5d6c3828059254.zip
glibc-5d9167133cd1b614e2841eceba5d6c3828059254.tar.gz
glibc-5d9167133cd1b614e2841eceba5d6c3828059254.tar.bz2
Update.
2001-02-01 Ulrich Drepper <drepper@redhat.com> * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so). * configure.in: Test for -z initfirst linker option. * config.make.in: Add have-z-initfirst. * elf/dl-init.c (_dl_init): Split out actual initialization code in new function call_init. If _dl_initfirst is non-NULL initialize first. * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set remember object in _dl_initfirst. * elf/soinit.c: Remove special support for calling __pthread_initialize_minimal. * conform/conformtest.pl: Add missing $prepend in type test. * elf/elf.h (SHT_CHECKSUM): New definition. * posix/tst-fnmatch.input: Add tests for [. .] in locales.
Diffstat (limited to 'elf/soinit.c')
-rw-r--r--elf/soinit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/elf/soinit.c b/elf/soinit.c
index 42e6cf1..ff65af4 100644
--- a/elf/soinit.c
+++ b/elf/soinit.c
@@ -36,9 +36,6 @@ extern void __deregister_frame (const void *);
# endif
#endif
-/* We have to initialize the thread library at least if bit. */
-extern void __pthread_initialize_minimal (void) __attribute__ ((weak));
-
/* This function will be called from _init in init-first.c. */
void
__libc_global_ctors (void)
@@ -46,11 +43,6 @@ __libc_global_ctors (void)
/* Call constructor functions. */
run_hooks (__CTOR_LIST__);
- /* Initialize the thread library at least a bit since the libgcc functions
- are using thread functions if these are available. */
- if (__pthread_initialize_minimal)
- __pthread_initialize_minimal ();
-
#ifdef HAVE_DWARF2_UNWIND_INFO
# ifdef HAVE_DWARF2_UNWIND_INFO_STATIC
{