summary refs log tree commit diff
path: root/elf/dl-support.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-24 08:34:04 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-24 08:34:04 +0000
commitd417e0ffc4d2707b0d684106f17554395e8be220 (patch)
treebc82f92f536ab65b8e6f1dde3ab17169640ae12d /elf/dl-support.c
parent69f0c4d8b99dd0aaf82fa213a518ebe1f813791e (diff)
downloadglibc-d417e0ffc4d2707b0d684106f17554395e8be220.tar.gz
glibc-d417e0ffc4d2707b0d684106f17554395e8be220.tar.xz
glibc-d417e0ffc4d2707b0d684106f17554395e8be220.zip
Update.
2002-02-24  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-support.c (_dl_non_dynamic_init): Renamed from
	non_dynamic_init and exported now.
	* sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init.
	* sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for
	!SHARED.
	* sysdeps/mach/hurd/i386/init-first.c: Likewise.
	* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
	* sysdeps/mach/hurd/mips/init-first.c: Likewise.
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r--elf/dl-support.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 876776acba..5452dd10fa 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -177,10 +177,10 @@ _dl_aux_init (ElfW(auxv_t) *av)
 }
 #endif
 
-static void non_dynamic_init (void) __attribute__ ((unused));
 
-static void
-non_dynamic_init (void)
+void
+internal_function
+_dl_non_dynamic_init (void)
 {
   if (HP_TIMING_AVAIL)
     HP_TIMING_NOW (_dl_cpuclock_offset);
@@ -228,7 +228,7 @@ non_dynamic_init (void)
   if (_dl_platform != NULL)
     _dl_platformlen = strlen (_dl_platform);
 }
-text_set_element (__libc_subinit, non_dynamic_init);
+
 
 const struct r_strlenpair *
 internal_function