projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5839253
)
Don't set real program name in l_name of main object.
author
drepper
<drepper>
Tue, 4 Nov 1997 02:13:13 +0000
(
02:13
+0000)
committer
drepper
<drepper>
Tue, 4 Nov 1997 02:13:13 +0000
(
02:13
+0000)
elf/rtld.c
patch
|
blob
|
history
diff --git
a/elf/rtld.c
b/elf/rtld.c
index
48d8575
..
b1538aa
100644
(file)
--- a/
elf/rtld.c
+++ b/
elf/rtld.c
@@
-395,8
+395,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 (_dl_argv[0] ?: (char *) "<main program>",
- "", lt_executable);
+ main_map = _dl_new_object ((char *) "", "", lt_executable);
if (main_map == NULL)
_dl_sysdep_fatal ("cannot allocate memory for link map\n", NULL);
main_map->l_phdr = phdr;