summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-03 17:50:48 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-03 17:50:48 +0000
commitdedc7609fa00a6697d4bb6b9a152db71097e8fee (patch)
tree1cdb7328a31d1c76f57dca3e4873a61a1cf1d549 /libc/misc
parentfeefb2252ef7ae7c06c041d63727e5039cec2edc (diff)
Enable attribute_relro on __guard and __stack_chk_guard now that ld.so supports it
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/__uClibc_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 8b7512b1a..a1a813c0e 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -30,9 +30,9 @@
#include <stdint.h>
/* for gcc-3.x + Etoh ssp */
-uintptr_t __guard /* segfaults with attribute_relro */;
+uintptr_t __guard attribute_relro;
/* for gcc-4.1 non-TLS */
-uintptr_t __stack_chk_guard /* attribute_relro */;
+uintptr_t __stack_chk_guard attribute_relro;
#endif
/*