xref: /optee_os/lib/libutils/isoc/stack_check.c (revision 64718c9361636e9750c29da790ddb3a8bfa55f6d)
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