xref: /freebsd/lib/libssp_nonshared/libssp_nonshared.c (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1*cd0d51baSKyle Evans /*
2*cd0d51baSKyle Evans  * Written by Alexander Kabaev <kan@FreeBSD.org>
3*cd0d51baSKyle Evans  * The file is in public domain.
4*cd0d51baSKyle Evans  */
5*cd0d51baSKyle Evans 
6*cd0d51baSKyle Evans #include <sys/cdefs.h>
7*cd0d51baSKyle Evans void __stack_chk_fail(void);
8*cd0d51baSKyle Evans void __stack_chk_fail_local(void);
9*cd0d51baSKyle Evans 
10*cd0d51baSKyle Evans void __hidden
__stack_chk_fail_local(void)11*cd0d51baSKyle Evans __stack_chk_fail_local(void)
12*cd0d51baSKyle Evans {
13*cd0d51baSKyle Evans 
14*cd0d51baSKyle Evans 	__stack_chk_fail();
15*cd0d51baSKyle Evans }
16