aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-19 12:21:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-19 12:21:35 +0000
commit487549c466e1434e812ca8877dd487398bc2df4e (patch)
tree092c57267038b02827d12a0214df853e3ff6aca4
parented8cfb00c2fc291da1cece028bcdb05b2f4dd372 (diff)
downloadglibc-487549c466e1434e812ca8877dd487398bc2df4e.zip
glibc-487549c466e1434e812ca8877dd487398bc2df4e.tar.gz
glibc-487549c466e1434e812ca8877dd487398bc2df4e.tar.bz2
Fix another x86 sys/ucontext.h namespace issue (bug 21457).
This patch fixes a namespace issue for one more field in the x86 sys/ucontext.h that I missed in my previous changes. Tested for x86_64. [BZ #21457] * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct _libc_xmmreg): Use __ctx in defining field.
-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 9a0bdbb..9a82a2b 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 5fd64bf..0cbed08 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