diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/rtld.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c index f988dd4519..0ce1fda229 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -68,7 +68,11 @@ enum mode { normal, list, verify, trace }; static void process_envvars (enum mode *modep); int _dl_argc attribute_relro attribute_hidden; +#ifdef DL_ARGV_NOT_RELRO +char **_dl_argv = NULL; +#else char **_dl_argv attribute_relro = NULL; +#endif INTDEF(_dl_argv) /* Nonzero if we were run directly. */ |