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:
parent
144a4390b5
commit
5dd552e66b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue