about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-16 23:53:03 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-16 23:53:03 +0000
commita88775bd223d2937cec6939c843332e228640a2c (patch)
treebba15f1e912469195e9e3c1f48648ffccb19cec4 /sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
parenta66f0958a1fbe5d64c3c77c01baee10bf23257dd (diff)
downloadglibc-a88775bd223d2937cec6939c843332e228640a2c.tar.gz
glibc-a88775bd223d2937cec6939c843332e228640a2c.tar.xz
glibc-a88775bd223d2937cec6939c843332e228640a2c.zip
Update.
2001-02-26  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
	* sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/sigcontextinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/s390/sigcontextinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/sigcontextinfo.h b/sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
index ccd5a41354..47985b4724 100644
--- a/sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
+++ b/sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
    This file is part of the GNU C Library.
 
@@ -24,3 +24,5 @@
 #define GET_PC(ctx)	((void *)((ctx)->sregs->regs.psw.addr))
 #define GET_FRAME(ctx)	(*(void **)((ctx)->sregs->regs.gprs[11]))
 #define GET_STACK(ctx)	((void *)((ctx)->sregs->regs.gprs[15]))
+#define CALL_SIGHANDLER(handler, signo, ctx) \
+  (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))