diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-12-20 07:34:42 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-01-01 15:55:38 -0800 |
commit | 8d8ae5eebd2c81064cfe88d877940ea4e6046d16 (patch) | |
tree | 24248ceac99cd3a81b2a40ded7aa510deceb28d9 /stdlib/Makefile | |
parent | b5dcccfb12385ee492eb074f6beb9ead56b5e5fd (diff) | |
download | glibc-8d8ae5eebd2c81064cfe88d877940ea4e6046d16.zip glibc-8d8ae5eebd2c81064cfe88d877940ea4e6046d16.tar.gz glibc-8d8ae5eebd2c81064cfe88d877940ea4e6046d16.tar.bz2 |
Add a setjmp/longjmp test between user contexts
Verify that setjmp and longjmp work correctly between user contexts.
Arrange stacks for uctx_func1 and uctx_func2 so that ____longjmp_chk
works when setjmp and longjmp are called from different user contexts.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r-- | stdlib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index d0173d0..f166ec6 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -256,6 +256,7 @@ tests := \ tst-strtol-locale \ tst-strtoll \ tst-swapcontext1 \ + tst-swapcontext2 \ tst-thread-quick_exit \ tst-tininess \ tst-unsetenv1 \ |