1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
Call _dl_new_object with extra argument.
	Call _dl_new_object with extra argument.
	but the main one if new argument is nonzero.
	* elf/ldsodefs.h: Adjust for _dl_new_object change.
	(dl_main): Call _dl_new_object with extra argument.
This commit is contained in:
Ulrich Drepper
1998-08-27 20:42:04 +00:00
parent f787edde1d
commit 5f62394167
6 changed files with 20 additions and 14 deletions

View File

@@ -420,7 +420,7 @@ of this helper program; chances are you did not intend to run this program.\n\
{
/* Create a link_map for the executable itself.
This will be what dlopen on "" returns. */
main_map = _dl_new_object ((char *) "", "", lt_executable);
main_map = _dl_new_object ((char *) "", "", lt_executable, 0);
if (main_map == NULL)
_dl_sysdep_fatal ("cannot allocate memory for link map\n", NULL);
main_map->l_phdr = phdr;