summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/dl-machine.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-20 05:41:20 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-20 05:41:20 +0000
commit83eb9f210dd51f87f2a029170bfe659b327f7171 (patch)
tree411acf53255b56d5eaba2c7239a52c5452108993 /sysdeps/alpha/dl-machine.h
parent2de6922e31dbf00d5be7da996ecd094fc18baac8 (diff)
downloadglibc-83eb9f210dd51f87f2a029170bfe659b327f7171.tar
glibc-83eb9f210dd51f87f2a029170bfe659b327f7171.tar.gz
glibc-83eb9f210dd51f87f2a029170bfe659b327f7171.tar.bz2
glibc-83eb9f210dd51f87f2a029170bfe659b327f7171.zip
(DL_ARGV_NOT_RELRO): Define.
Diffstat (limited to 'sysdeps/alpha/dl-machine.h')
-rw-r--r--sysdeps/alpha/dl-machine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h
index 3616faedbf..cf96b778bd 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. */