aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-27 20:42:04 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-27 20:42:04 +0000
commit5f62394167f5df4565e6e07e1e16c56021626e50 (patch)
tree2d21615bf816ac7cc3b9cdf9b90a1e68b43a7680 /elf/rtld.c
parentf787edde1dcd0f35feff9c8fd6384bd564558180 (diff)
downloadglibc-5f62394167f5df4565e6e07e1e16c56021626e50.tar
glibc-5f62394167f5df4565e6e07e1e16c56021626e50.tar.gz
glibc-5f62394167f5df4565e6e07e1e16c56021626e50.tar.bz2
glibc-5f62394167f5df4565e6e07e1e16c56021626e50.zip
Update.
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.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 3b3dfbf669..600f062b3c 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -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;