xref: /freebsd/lib/libssp_nonshared/libssp_nonshared.c (revision cd0d51baaa4509a1db83251a601d34404d20c990)
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 __FBSDID("$FreeBSD$");
8*cd0d51baSKyle Evans 
9*cd0d51baSKyle Evans void __stack_chk_fail(void);
10*cd0d51baSKyle Evans void __stack_chk_fail_local(void);
11*cd0d51baSKyle Evans 
12*cd0d51baSKyle Evans void __hidden
13*cd0d51baSKyle Evans __stack_chk_fail_local(void)
14*cd0d51baSKyle Evans {
15*cd0d51baSKyle Evans 
16*cd0d51baSKyle Evans 	__stack_chk_fail();
17*cd0d51baSKyle Evans }
18