about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-20 19:37:46 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-20 19:37:46 +0000
commit437d7853496eb27ab7c8c3eb7e9315c4b810c6db (patch)
tree6f835b2fd4f1a99d6b1c73f1096922f171193742
parenta6df738797825b5d19448903b9b7c35b091e13c2 (diff)
downloadglibc-437d7853496eb27ab7c8c3eb7e9315c4b810c6db.tar.gz
glibc-437d7853496eb27ab7c8c3eb7e9315c4b810c6db.tar.xz
glibc-437d7853496eb27ab7c8c3eb7e9315c4b810c6db.zip
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
	(sigcontext_struct) [__WORDSIZE == 32]: Define.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ed696fd0df..c3f5b20c8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-20  Alexandre Oliva  <aoliva@redhat.com>
+
+	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
+	(sigcontext_struct) [__WORDSIZE == 32]: Define.
+
 2006-01-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
 	* sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
index 08d4c52b2f..c0d5fe72d4 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
@@ -70,6 +70,14 @@ struct _fpstate
   __uint32_t		padding[56];
 };
 
+#ifndef sigcontext_struct
+/* Kernel headers before 2.1.1 define a struct sigcontext_struct, but
+   we need sigcontext.  Some packages have come to rely on
+   sigcontext_struct being defined on 32-bit x86, so define this for
+   their benefit.  */
+# define sigcontext_struct sigcontext
+#endif
+
 struct sigcontext
 {
   unsigned short gs, __gsh;