Jelajahi Sumber

Enable attribute_relro on __guard and __stack_chk_guard now that ld.so supports it

Peter S. Mazinger 20 tahun lalu
induk
melakukan
dedc7609fa
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      libc/misc/internals/__uClibc_main.c

+ 2 - 2
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
 
 /*