From: Ulrich Drepper Date: Fri, 20 Feb 2004 05:41:20 +0000 (+0000) Subject: (DL_ARGV_NOT_RELRO): Define. X-Git-Tag: glibc-2.16-ports-before-merge~1231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83eb9f210dd51f87f2a029170bfe659b327f7171;p=thirdparty%2Fglibc.git (DL_ARGV_NOT_RELRO): Define. --- diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 3616faedbff..cf96b778bd1 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -293,6 +293,10 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) strong_alias (_dl_runtime_resolve, _dl_runtime_profile); #endif +/* _dl_argv cannot be attribute_relro, because _dl_start_user below + might write into it after _dl_start returns. */ +#define DL_ARGV_NOT_RELRO 1 + /* Initial entry point code for the dynamic linker. The C function `_dl_start' is the real entry point; its return value is the user program's entry point. */