first attempt at enabling stack protector support
[musl] / src / env / __stack_chk_fail.c
1 #include "pthread_impl.h"
2 #include "atomic.h"
3
4 void __init_ssp(void)
5 {
6 #ifndef __PIC__
7         __pthread_self_init();
8 #endif
9 }
10
11 void __stack_chk_fail(void)
12 {
13         a_crash();
14 }