about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ia64/ucontext_i.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-06-02 19:56:35 +0000
committerRoland McGrath <roland@gnu.org>2003-06-02 19:56:35 +0000
commit0f501b7f2a40ffaabb89dc35724aad11db2846c9 (patch)
tree52c424d7ea09f31bb74ef13ab58a21501fa7467c /sysdeps/unix/sysv/linux/ia64/ucontext_i.h
parent4a5f21e4417e29f3f781294b345a7c60abcbec29 (diff)
downloadglibc-0f501b7f2a40ffaabb89dc35724aad11db2846c9.tar.gz
glibc-0f501b7f2a40ffaabb89dc35724aad11db2846c9.tar.xz
glibc-0f501b7f2a40ffaabb89dc35724aad11db2846c9.zip
Replace hard-coded offsets into struct sigcontext with generated file.
	* sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file.
	* sysdeps/unix/sysv/linux/ia64/Makefile
	[$(subdir) = stdlib] (gen-as-const-headers): Add it.
	* sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of
	defining SC_* macros here.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/ucontext_i.h')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/ucontext_i.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/ucontext_i.h b/sysdeps/unix/sysv/linux/ia64/ucontext_i.h
index 2d544a7438..e2a4d3c2b8 100644
--- a/sysdeps/unix/sysv/linux/ia64/ucontext_i.h
+++ b/sysdeps/unix/sysv/linux/ia64/ucontext_i.h
@@ -24,19 +24,7 @@
 #define SIG_UNBLOCK	1
 #define SIG_SETMASK	2
 
-#define SC_NAT	0x008
-#define SC_BSP	0x048
-#define SC_RNAT	0x050
-#define SC_UNAT	0x060
-#define SC_FPSR	0x068
-#define SC_PFS	0x070
-#define SC_LC	0x078
-#define SC_PR	0x080
-#define SC_BR	0x088
-#define SC_GR	0x0c8
-#define SC_FR	0x1d0
-#define SC_MASK	0xa50
-
+#include <sigcontext-offsets.h>
 
 #define rTMP	r16
 #define rPOS	r16