xtensa_sigtramp.S: Remove the ENTRY instruction.

_xtensa_sig_trampoline is returned to after a context switch and not called
by the usual Window call instructions (call4, call8 and call12),
thus does not need the entry instruction.  Furthermore, the ENTRY instruction
in this case is messing up the backtrace as it creates an extra frame.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2022-05-09 20:28:06 +02:00 committed by Masayuki Ishikawa
parent 3f632bf12b
commit 12453bb623

View File

@ -26,8 +26,6 @@
#include <nuttx/config.h>
#include <arch/xtensa/xtensa_abi.h>
/****************************************************************************
* Public Functions
****************************************************************************/
@ -53,8 +51,6 @@
.align 4
_xtensa_sig_trampoline:
ENTRY(16) /* REVISIT: This should not be here */
#ifdef __XTENSA_CALL0_ABI__
call0 xtensa_sig_deliver /* Call xtensa_sig_deliver */
#else