xref: /optee_os/lib/libutils/isoc/stack_check.c (revision 3d3b05918ec9052ba13de82fbcaba204766eb636)
1 // SPDX-License-Identifier: BSD-2-Clause
2 /*
3  * Copyright (c) 2014, STMicroelectronics International N.V.
4  */
5 #include <compiler.h>
6 void *__stack_chk_guard __nex_data = (void *)0x00000aff;
7 
8 void __attribute__((noreturn)) __stack_chk_fail(void);
9 
10 void __stack_chk_fail(void)
11 {
12 	while (1)
13 		;
14 }
15 
16