kernel: Fix gcc-9.2 warning with _StackCheckHandler

Remove FUNC_NORETURN attribute from _StackCheckHandler to address the
following warning from gcc-9.2:

kernel/compiler_stack_protect.c:62:32: error: '__stack_chk_fail'
specifies less restrictive attribute than its target
'_StackCheckHandler': 'noreturn' [-Werror=missing-attributes]

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-10-03 18:32:35 -05:00 committed by Kumar Gala
commit bc18159676

View file

@ -32,7 +32,7 @@
*
* @return Does not return
*/
void FUNC_NORETURN _StackCheckHandler(void)
void _StackCheckHandler(void)
{
/* Stack canary error is a software fatal condition; treat it as such.
*/