From 697afbe1c8ba2037d0f7929f888a6994e6c21583 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 15 Jan 2004 18:04:12 +0000 Subject: Update. * elf/rtld.c: Initialize _dl_argv to allow aliasing. --- ChangeLog | 2 ++ elf/rtld.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ff184e3ef..9d2f1df44c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-01-15 Ulrich Drepper + * 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. */ -- cgit v1.2.3