arch: arc: STACK_CHECK_FAIL of STACK_CHECK not hang the system

Whether it should hang the system it not decided finally.
But remove it here to let some tests pass.

Fixes #8032

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
This commit is contained in:
Wayne Ren 2018-06-07 16:28:26 +08:00 committed by Maureen Helm
commit 5dd552e66b

View file

@ -43,7 +43,7 @@ __weak void _SysFatalErrorHandler(unsigned int reason,
ARG_UNUSED(pEsf);
#if !defined(CONFIG_SIMPLE_FATAL_ERROR_HANDLER)
#if defined(CONFIG_ARC_STACK_CHECKING) || defined(CONFIG_STACK_SENTINEL)
#if defined(CONFIG_STACK_SENTINEL)
if (reason == _NANO_ERR_STACK_CHK_FAIL) {
goto hang_system;
}