Home | History | Annotate | Download | only in setjmp
History log of /src/tests/lib/libc/setjmp/t_setjmp.c
RevisionDateAuthorComments
 1.13  28-Apr-2025  martin PR 59370: compat 1.3 setjmp has been fixed
 1.12  28-Apr-2025  riastradh tests/lib/libc/setjmp: Mark compat 1.3 setjmp busted on sparc64.

PR port-sparc64/59370: compat 1.3 setjmp is busted
 1.11  25-Apr-2025  riastradh t_setjmp, t_sigstack: Mark compat13 setjmp tests xfail on arm.

(Does it even make sense to have compat_setjmp on arm? Didn't we
break ABI compatibility with the oabi->eabi transition, long after
1.3?)

PR port-arm/59351: compat_setjmp is busted
 1.10  24-Apr-2025  riastradh mips/compat_longjmp: Make sure compat13 setjmp returns nonzero.

PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1
 1.9  24-Apr-2025  riastradh mips/compat_sigsetjmp: Add missing RESTORE_GP64.

Otherwise, compat13 sigsetjmp clobbers the caller's gp when it
returns (the first time around, anyway), which leads to a lovely
display of fireworks.

PR port-mips/59343: compat_sigsetjmp.S: missing RESTORE_GP64
 1.8  24-Apr-2025  riastradh mips/compat_setjmp: .set reorder doesn't have delay slots.

PR port-mips/59342: compat_setjmp.S is confused about delay slots
 1.7  24-Apr-2025  riastradh t_setjmp, t_sigstack: Test compat13 setjmp/sigsetjmp too.

PR port-mips/59342: compat_setjmp.S is confused about delay slots
PR port-mips/59343: compat_sigsetjmp.S: missing RESTORE_GP64
 1.6  24-Apr-2025  riastradh t_setjmp: Tidy up.

- KNF.
- Nix trailing whitespace.
- Use RL from h_macros.h.
- Use enum and case.

No functional change intended.

Preparation for extending these tests to the compat13 functions,
prompted by:

PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1
PR port-mips/59342: compat_setjmp.S is confused about delay slots
PR port-mips/59343: compat_sigsetjmp.S: missing RESTORE_GP64
 1.5  22-Apr-2025  riastradh mips: Fix _longjmp(..., 0) so _setjmp returns 1 as intended.

_setjmp (like setjmp and sigsetjmp) is only permitted to return 0 the
first time around.

PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1
 1.4  22-Apr-2025  riastradh t_setjmp: Mark _longjmp_zero xfail on mips.

PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1
 1.3  21-Mar-2021  christos PR/56066: Jessica Clarke: Add tests for calling {_,}longjmp with a zero value.
 1.2  14-Jan-2017  christos PR/51874: Ngie Cooper: Add __unused to signal handlers
 1.1  27-Dec-2010  pgoyette branches: 1.1.28;
Move the various setjmp tests from regress to atf
 1.1.28.1  20-Mar-2017  pgoyette Sync with HEAD

RSS XML Feed