summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/x86/sys/ucontext.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a0bdbb8b1..9a82a2b0fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #21457]
+	* sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
+	_libc_xmmreg): Use __ctx in defining field.
+
 	[BZ #21597]
 	* signal/signal.h (siginterrupt): Make declaration conditional on
 	[__USE_XOPEN_EXTENDED || __USE_MISC].
diff --git a/sysdeps/unix/sysv/linux/x86/sys/ucontext.h b/sysdeps/unix/sysv/linux/x86/sys/ucontext.h
index 5fd64bf801..0cbed086a7 100644
--- a/sysdeps/unix/sysv/linux/x86/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/x86/sys/ucontext.h
@@ -107,7 +107,7 @@ struct _libc_fpxreg
 
 struct _libc_xmmreg
 {
-  __uint32_t	element[4];
+  __uint32_t	__ctx(element)[4];
 };
 
 struct _libc_fpstate