acadia-newlib/winsup/cygwin/include
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
..
arpa
asm
attr
bits
cygwin Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
machine
net
netinet
sys Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
a.out.h
byteswap.h
dlfcn.h
elf.h
endian.h
err.h
error.h
fcntl.h
features.h
fenv.h
fnmatch.h
fts.h
ftw.h
getopt.h
glob.h
icmp.h
ifaddrs.h
io.h
lastlog.h
libgen.h
limits.h
mapi.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h
paths.h
poll.h
process.h
pthread.h
pty.h
regex.h
resolv.h
search.h
semaphore.h
sysexits.h
syslog.h
termio.h
tzfile.h
ucontext.h
utmpx.h
wait.h