1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
* elf/Makefile (dl-routines): Add preinit.
	* elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
	* elf/link.h (struct link_map): Add new field l_preinitcount.
	* elf/dl-preinit.c: New file.
	* elf/dynamic-link.h: Initialize l_preinitcount.
	* sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
This commit is contained in:
Ulrich Drepper
1999-07-24 22:17:17 +00:00
parent fcf70d4114
commit e28bacf578
7 changed files with 80 additions and 1 deletions

View File

@@ -211,6 +211,10 @@ struct link_map
/* Collected information about own RUNPATH directories. */
struct r_search_path_elem **l_runpath_dirs;
/* Number of pre-constructors. We compute this during loading to avoid
duplication of this during the possibly many calls to _dl_init_next. */
unsigned int l_preinitcount;
};
#endif /* link.h */