Fix another x86 sys/ucontext.h namespace issue (bug 21457)

Message ID alpine.DEB.2.20.1706162043060.8672@digraph.polyomino.org.uk
State New, archived
Headers

Commit Message

Joseph Myers June 16, 2017, 8:43 p.m. UTC
  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.

2017-06-16  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.
  

Comments

Joseph Myers June 19, 2017, 11:13 a.m. UTC | #1
Ping.  This patch 
<https://sourceware.org/ml/libc-alpha/2017-06/msg00747.html> is pending 
review.
  
Andreas Schwab June 19, 2017, 12:18 p.m. UTC | #2
On Jun 16 2017, Joseph Myers <joseph@codesourcery.com> wrote:

> 	[BZ #21457]
> 	* sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
> 	_libc_xmmreg): Use __ctx in defining field.

Ok.

Andreas.
  

Patch

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