newlib/winsup/cygwin/include/sys
Jon TURNEY 383ff5fc47 Try to make sure struct _mcontext is 16-byte aligned
On x86_64, RtlCaptureContext() uses fxsave to save FPU/MMX/SSE state.

fxsave requires that the destination address is 16-byte aligned, or it will
fault.

CONTEXT is already annotated __attribute__ ((aligned (16))), do the same with
struct _mcontext.

Rearrange ucontext_t so that it's struct _mcontext element is also correctly
aligned.

	* include/cygwin/signal.h (struct __mcontext): 16-byte align.
	* include/sys/ucontext.h (ucontext_t): Ditto.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-04-23 21:57:11 +02:00
..
acl.h
copying.dj
cygwin.h Add cygwin_internal() operation to retrieve the EXCEPTION_RECORD from a siginfo_t * 2015-04-23 21:57:10 +02:00
dirent.h
elf32.h
elf64.h
elf_common.h
elf_generic.h
elf.h
file.h * include/sys/file.h: Add extern "C". 2014-08-06 08:46:12 +00:00
ioctl.h
ipc.h
kd.h
lock.h
mman.h
mount.h * Makefile.in (DLL_OFILES): Add quotactl.o. 2014-10-17 08:19:27 +00:00
msg.h
mtio.h
param.h
poll.h
procfs.h
quota.h * Makefile.in (DLL_OFILES): Add quotactl.o. 2014-10-17 08:19:27 +00:00
resource.h
select.h
sem.h
shm.h
smallprint.h
socket.h * include/sys/socket.h (sockatmark): Add prototype. 2015-02-24 09:00:37 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h
strace.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
sysinfo.h
syslimits.h
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h Add CMIN and CTIME definitions 2015-04-23 21:57:07 +02:00
ttychars.h
ucontext.h Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
uio.h
un.h
utime.h
utmp.h
utsname.h
vfs.h
wait.h
xattr.h