aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--elf/rtld.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ff184e3ef..9d2f1df44c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2004-01-15 Ulrich Drepper <drepper@redhat.com>
+ * elf/rtld.c: Initialize _dl_argv to allow aliasing.
+
* resolv/resolv.h: Add RES_USEBSTRING.
* resolv/res_debug.c (p_option): Add handling for RES_USE_INET6,
RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING.
diff --git a/elf/rtld.c b/elf/rtld.c
index 62e0dd5dec..803d586dea 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -68,7 +68,7 @@ enum mode { normal, list, verify, trace };
static void process_envvars (enum mode *modep);
int _dl_argc attribute_relro attribute_hidden;
-char **_dl_argv attribute_relro;
+char **_dl_argv attribute_relro = NULL;
INTDEF(_dl_argv)
/* Nonzero if we were run directly. */