|
@@ -29,10 +29,10 @@
|
|
|
#include <ssp-internal.h>
|
|
|
#include <stdint.h>
|
|
|
|
|
|
-
|
|
|
-uintptr_t __guard attribute_relro;
|
|
|
|
|
|
uintptr_t __stack_chk_guard attribute_relro;
|
|
|
+
|
|
|
+strong_alias(__stack_chk_guard,__guard)
|
|
|
#endif
|
|
|
|
|
|
|
|
@@ -201,8 +201,6 @@ void __uClibc_init(void)
|
|
|
|
|
|
#ifdef __UCLIBC_HAS_SSP__
|
|
|
uintptr_t stack_chk_guard = _dl_guard_setup();
|
|
|
-
|
|
|
- __guard = stack_chk_guard;
|
|
|
|
|
|
__stack_chk_guard = stack_chk_guard;
|
|
|
#endif
|