summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-10 14:51:22 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:24 -0700
commit5d5722e8ac22253bdc819da2d676d9900da0c533 (patch)
tree5da1821658c8038709f264e4d6b7e096e80bb7eb /sysdeps/generic
parentbe971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (diff)
downloadglibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.gz
Hurd: Fix value of __libc_stack_end
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/ldsodefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 602b429cea..e071015cee 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -717,7 +717,11 @@ rtld_hidden_proto (_dl_make_stack_executable)
might use the variable which results in copy relocations on some
platforms. But this does not matter, ld.so can always use the local
copy. */
-extern void *__libc_stack_end attribute_relro;
+extern void *__libc_stack_end
+#ifndef LIBC_STACK_END_NOT_RELRO
+ attribute_relro
+#endif
+ ;
rtld_hidden_proto (__libc_stack_end)
/* Parameters passed to the dynamic linker. */