]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Do not add relro attribute to __libc_stack_end
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 25 Nov 2015 16:05:53 +0000 (17:05 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 25 Nov 2015 16:05:53 +0000 (17:05 +0100)
It does not actually work yet

* sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Remove relro attribute.

ChangeLog
sysdeps/mach/hurd/dl-sysdep.c

index 77bf20fce880f6efc3e9e774c0444b5852bf397d..f00417f8c07889e754f764096b0fc200f8306343 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,8 +6,8 @@
        * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
        * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
        libc_hidden_def.
-       * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Add relro
-       attribute, define rtld_hidden_data_def.
+       * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Define
+       rtld_hidden_data_def.
        * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
        * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
        libc_hidden_def.
index 7b3c56961dd249790c60d94f5075dde83abc6f29..222eece697743600d6c1fdb9735cf5ebaf9b51c6 100644 (file)
@@ -55,7 +55,7 @@ rtld_hidden_data_def (__libc_enable_secure)
 int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
                                   of init-first.  */
 /* This variable contains the lowest stack address ever used.  */
-void *__libc_stack_end attribute_relro = NULL;
+void *__libc_stack_end;
 rtld_hidden_data_def(__libc_stack_end)
 
 #if HP_TIMING_AVAIL