This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-1148-g4849531


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  48495318fa5ae223a8b777ed144bd769d9f6c67f (commit)
       via  14adcbfc36fbec33594635a8d93834149cb8a8fa (commit)
      from  68e408ab5da38218efe2521ec089d8c61d5789ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=48495318fa5ae223a8b777ed144bd769d9f6c67f

commit 48495318fa5ae223a8b777ed144bd769d9f6c67f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jun 4 12:41:38 2012 -0700

    Use x86_64 bits/sigcontext.h for i386 and x86_64

diff --git a/ChangeLog b/ChangeLog
index 771debd..24ad1e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #14117]
+	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
+	* sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
+
 	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
 	New macro from Linux kernel 3.4.0.
 	(FP_XSTATE_MAGIC2): Likewise.
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h b/sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
rename to sysdeps/unix/sysv/linux/x86/bits/sigcontext.h

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=14adcbfc36fbec33594635a8d93834149cb8a8fa

commit 14adcbfc36fbec33594635a8d93834149cb8a8fa
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jun 4 12:40:46 2012 -0700

    Update x86_64 bits/sigcontext.h from kernel 3.4.0

diff --git a/ChangeLog b/ChangeLog
index 0e7f11e..771debd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,16 @@
 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #14117]
+	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
+	New macro from Linux kernel 3.4.0.
+	(FP_XSTATE_MAGIC2): Likewise.
+	(FP_XSTATE_MAGIC2_SIZE): Likewise.
+	(X86_FXSR_MAGIC): New macro from Linux i386 kernel.
+	(struct _fpx_sw_bytes): New struct.
+	(struct _xsave_hdr): Likewise.
+	(struct _ymmh_state): Likewise.
+	(struct _xstate): Likewise.
+
 	* sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
 	* sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
 	* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
index d9ba716..06f36cb 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
@@ -22,6 +22,19 @@
 # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
 #endif
 
+#define FP_XSTATE_MAGIC1	0x46505853U
+#define FP_XSTATE_MAGIC2	0x46505845U
+#define FP_XSTATE_MAGIC2_SIZE	sizeof(FP_XSTATE_MAGIC2)
+
+struct _fpx_sw_bytes
+{
+  __uint32_t magic1;
+  __uint32_t extended_size;
+  __uint64_t xstate_bv;
+  __uint32_t xstate_size;
+  __uint32_t padding[7];
+};
+
 struct _fpreg
 {
   unsigned short significand[4];
@@ -75,6 +88,8 @@ struct _fpstate
 # define sigcontext_struct sigcontext
 #endif
 
+#define X86_FXSR_MAGIC		0x0000
+
 struct sigcontext
 {
   unsigned short gs, __gsh;
@@ -157,4 +172,23 @@ struct sigcontext
 
 #endif /* __x86_64__ */
 
+struct _xsave_hdr
+{
+  __uint64_t xstate_bv;
+  __uint64_t reserved1[2];
+  __uint64_t reserved2[5];
+};
+
+struct _ymmh_state
+{
+  __uint32_t ymmh_space[64];
+};
+
+struct _xstate
+{
+  struct _fpstate fpstate;
+  struct _xsave_hdr xstate_hdr;
+  struct _ymmh_state ymmh;
+};
+
 #endif /* _BITS_SIGCONTEXT_H */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   13 +++++++
 .../sysv/linux/{x86_64 => x86}/bits/sigcontext.h   |   34 ++++++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 rename sysdeps/unix/sysv/linux/{x86_64 => x86}/bits/sigcontext.h (86%)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]