svn commit: trunk/uClibc/libc/misc/internals
psm at uclibc.org
psm at uclibc.org
Mon Oct 3 17:50:50 UTC 2005
Author: psm
Date: 2005-10-03 10:50:48 -0700 (Mon, 03 Oct 2005)
New Revision: 11735
Log:
Enable attribute_relro on __guard and __stack_chk_guard now that ld.so supports it
Modified:
trunk/uClibc/libc/misc/internals/__uClibc_main.c
Changeset:
Modified: trunk/uClibc/libc/misc/internals/__uClibc_main.c
===================================================================
--- trunk/uClibc/libc/misc/internals/__uClibc_main.c 2005-10-03 17:25:28 UTC (rev 11734)
+++ trunk/uClibc/libc/misc/internals/__uClibc_main.c 2005-10-03 17:50:48 UTC (rev 11735)
@@ -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
/*
More information about the uClibc-cvs
mailing list