about summary refs log tree commit diff
path: root/sysdeps
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 /sysdeps
parented8cfb00c2fc291da1cece028bcdb05b2f4dd372 (diff)
downloadglibc-487549c466e1434e812ca8877dd487398bc2df4e.tar.gz
glibc-487549c466e1434e812ca8877dd487398bc2df4e.tar.xz
glibc-487549c466e1434e812ca8877dd487398bc2df4e.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/x86/sys/ucontext.h2
1 files changed, 1 insertions, 1 deletions
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