summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h
index 45f1bfdae9..d540cfeaf1 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h
@@ -58,3 +58,18 @@
#define SIGCONTEXT_FP_REGS 616
#define SIGCONTEXT_V_REGS_PTR 880
#define SIGCONTEXT_V_RESERVE 888
+
+/* Tests run in stdlib/tst-ucontext-off. */
+#define TESTS \
+ TEST (uc_link, UCONTEXT_LINK); \
+ TEST (uc_stack.ss_sp, UCONTEXT_STACK_SP); \
+ TEST (uc_stack.ss_size, UCONTEXT_STACK_SIZE); \
+ TEST (uc_sigmask, UCONTEXT_SIGMASK); \
+ TEST (uc_mcontext.signal, SIGCONTEXT_SIGNAL); \
+ TEST (uc_mcontext.handler, SIGCONTEXT_HANDLER); \
+ TEST (uc_mcontext.oldmask, SIGCONTEXT_OLDMASK); \
+ TEST (uc_mcontext.regs, SIGCONTEXT_PT_REGS); \
+ TEST (uc_mcontext.gp_regs, SIGCONTEXT_GP_REGS); \
+ TEST (uc_mcontext.fp_regs, SIGCONTEXT_FP_REGS); \
+ TEST (uc_mcontext.v_regs, SIGCONTEXT_V_REGS_PTR); \
+ TEST (uc_mcontext.vmx_reserve, SIGCONTEXT_V_RESERVE);