about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/dl-sysdep.h
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/mach/hurd/dl-sysdep.h
parentbe971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (diff)
downloadglibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.gz
glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.xz
glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.zip
Hurd: Fix value of __libc_stack_end
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.h')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.h b/sysdeps/mach/hurd/dl-sysdep.h
index 671b241839..c64a39d924 100644
--- a/sysdeps/mach/hurd/dl-sysdep.h
+++ b/sysdeps/mach/hurd/dl-sysdep.h
@@ -1,5 +1,5 @@
 /* System-specific settings for dynamic linker code.  Hurd version.
-   Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,8 @@
 #define RTLD_PRIVATE_ERRNO 0
 
 #ifdef SHARED
-/* _dl_argv cannot be attribute_relro, because the stack-switching
+/* _dl_argv and __libc_stack_end cannot be attribute_relro, because the stack-switching
    libc initializer for using cthreads might write into it.  */
 # define DL_ARGV_NOT_RELRO 1
+# define LIBC_STACK_END_NOT_RELRO 1
 #endif