Skip to content

{bp-3536} testing/sig_sp_test: add test for SP context restore on signal return#3580

Merged
acassis merged 1 commit into
apache:releases/13.0from
jerpelea:bp-3536
Jul 2, 2026
Merged

{bp-3536} testing/sig_sp_test: add test for SP context restore on signal return#3580
acassis merged 1 commit into
apache:releases/13.0from
jerpelea:bp-3536

Conversation

@jerpelea

@jerpelea jerpelea commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

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.

Impact

RELEASE

Testing

CI

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>
@acassis acassis merged commit 29a125f into apache:releases/13.0 Jul 2, 2026
11 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants