about summary refs log tree commit diff
path: root/stdlib/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-12-20 07:34:42 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-01-01 15:55:38 -0800
commit8d8ae5eebd2c81064cfe88d877940ea4e6046d16 (patch)
tree24248ceac99cd3a81b2a40ded7aa510deceb28d9 /stdlib/Makefile
parentb5dcccfb12385ee492eb074f6beb9ead56b5e5fd (diff)
downloadglibc-8d8ae5eebd2c81064cfe88d877940ea4e6046d16.tar.gz
glibc-8d8ae5eebd2c81064cfe88d877940ea4e6046d16.tar.xz
glibc-8d8ae5eebd2c81064cfe88d877940ea4e6046d16.zip
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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index d0173d06a4..f166ec6c80 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 \