1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
Ulrich Drepper
2002-02-24 08:34:04 +00:00
parent 69f0c4d8b9
commit d417e0ffc4
7 changed files with 41 additions and 5 deletions

View File

@ -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