OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feefb22
)
Enable attribute_relro on __guard and __stack_chk_guard now that ld.so supports it
author
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 3 Oct 2005 17:50:48 +0000
(17:50 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 3 Oct 2005 17:50:48 +0000
(17:50 -0000)
libc/misc/internals/__uClibc_main.c
patch
|
blob
|
history
diff --git
a/libc/misc/internals/__uClibc_main.c
b/libc/misc/internals/__uClibc_main.c
index
8b7512b
..
a1a813c
100644
(file)
--- 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
/*