about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/s390/ucontext_i.sym
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-07-31 20:04:54 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-07-31 20:04:54 +0200
commit2f438e20ab591641760e97458d5d1569942eced5 (patch)
tree3fb25d366c77a51ecfbf1c79d4b0b02521573443 /sysdeps/unix/sysv/linux/s390/ucontext_i.sym
parent6c9578a24b5c4182d1c475a32a147478bc757bf3 (diff)
downloadglibc-2f438e20ab591641760e97458d5d1569942eced5.tar.gz
glibc-2f438e20ab591641760e97458d5d1569942eced5.tar.xz
glibc-2f438e20ab591641760e97458d5d1569942eced5.zip
S/390: Revert the jmp_buf/ucontext_t ABI change.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/ucontext_i.sym')
-rw-r--r--sysdeps/unix/sysv/linux/s390/ucontext_i.sym25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/ucontext_i.sym b/sysdeps/unix/sysv/linux/s390/ucontext_i.sym
new file mode 100644
index 0000000000..6cc9f19624
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/s390/ucontext_i.sym
@@ -0,0 +1,25 @@
+#include <stddef.h>
+#include <signal.h>
+#include <sys/ucontext.h>
+
+--
+
+SIG_BLOCK
+SIG_UNBLOCK
+SIG_SETMASK
+
+_NSIG8          (_NSIG / 8)
+
+#define ucontext(member)	offsetof (ucontext_t, member)
+#define mcontext(member)	ucontext (uc_mcontext.member)
+
+SC_FLGS		ucontext (uc_flags)
+SC_LINK		ucontext (uc_link)
+SC_STCK		ucontext (uc_stack.ss_sp)
+SC_STSZ		ucontext (uc_stack.ss_size)
+SC_PSW		mcontext (psw)
+SC_GPRS		mcontext (gregs)
+SC_ACRS		mcontext (aregs)
+SC_FPC		mcontext (fpregs.fpc)
+SC_FPRS		mcontext (fpregs.fprs)
+SC_MASK		ucontext (uc_sigmask)