nuttx-apps/testing/sig_sp_test
Andrew Au d9874394dd testing/sig_sp_test: add test for SP context restore on signal return
Add a test that verifies modifying SP (REG_R13) in the saved register
context is honored on signal return. The test pushes values onto the
stack, triggers SIGALRM, and in the handler advances SP to skip a
value, then verifies the correct value is popped after signal return.

This exercises the SP relocation fix in arm_sigdeliver.c for ARMv7-M
and ARMv8-M architectures.

Signed-off-by: Andrew Au <cshung@gmail.com>
2026-06-22 10:21:40 -03:00
..
CMakeLists.txt testing/sig_sp_test: add test for SP context restore on signal return 2026-06-22 10:21:40 -03:00
Kconfig testing/sig_sp_test: add test for SP context restore on signal return 2026-06-22 10:21:40 -03:00
Make.defs testing/sig_sp_test: add test for SP context restore on signal return 2026-06-22 10:21:40 -03:00
Makefile testing/sig_sp_test: add test for SP context restore on signal return 2026-06-22 10:21:40 -03:00
sig_sp_test_main.c testing/sig_sp_test: add test for SP context restore on signal return 2026-06-22 10:21:40 -03:00