mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
hurd: let _dl_argv and __libc_stack_end be relro
libpthread does not switch stacks.
This commit is contained in:
parent
9446e02b0d
commit
aac0f62c47
@ -22,10 +22,3 @@
|
||||
(open, mmap, etc). */
|
||||
|
||||
#define RTLD_PRIVATE_ERRNO 0
|
||||
|
||||
#ifdef SHARED
|
||||
/* _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
|
||||
|
Loading…
Reference in New Issue
Block a user