newlib-cygwin/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
dirent.h
elf.h
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h
ioctl.h
ipc.h
kd.h
lock.h
mman.h
mount.h
msg.h
mtio.h
param.h
poll.h
procfs.h
quota.h
resource.h
select.h
sem.h
shm.h
smallprint.h
socket.h
soundcard.h
statfs.h
statvfs.h
stdio.h
strace.h
sysinfo.h
syslimits.h
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h
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