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 Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
asm * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
attr
bits * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
cygwin Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
machine * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
net Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
netinet * include/netinet/ip6.h: New file, copied from FreeBSD vebatim. 2014-01-18 11:37:55 +00:00
sys Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
a.out.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
byteswap.h
dlfcn.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
elf.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
endian.h
err.h
error.h * include/error.h (error_message_count): Declare as dllimport. 2013-02-21 03:15:47 +00:00
fcntl.h * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's 2014-11-25 11:42:20 +00:00
features.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
fenv.h
fnmatch.h
fts.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ftw.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
getopt.h
glob.h * include/glob.h: Fix invalid use of 'restrict' error. 2013-11-28 10:00:01 +00:00
icmp.h
ifaddrs.h
io.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
lastlog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
libgen.h
limits.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
mapi.h
memory.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mntent.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
monetary.h
mqueue.h
netdb.h * autoload.cc (IdnToAscii): Define. 2013-11-19 13:29:37 +00:00
paths.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
poll.h
process.h * include/process.h: Move here from include/cygwin subdir. 2012-02-07 17:15:07 +00:00
pthread.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
pty.h
regex.h
resolv.h
search.h
semaphore.h
sysexits.h
syslog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
termio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
tzfile.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
ucontext.h Provide ucontext to signal handlers 2015-04-23 21:57:10 +02:00
utmpx.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
wait.h