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
..
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2005-07-26 00:55:42 +00:00
2012-06-06 04:45:48 +00:00
2011-12-17 23:39:47 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2000-02-17 19:38:33 +00:00
2007-06-21 15:57:54 +00:00
2013-04-23 09:44:36 +00:00
2005-02-22 19:45:41 +00:00
2013-04-23 09:44:36 +00:00
2001-09-11 20:01:02 +00:00
2013-04-23 09:44:36 +00:00
2013-11-19 13:29:37 +00:00
2001-03-05 21:29:24 +00:00
2009-12-26 06:20:56 +00:00
2011-12-17 23:39:47 +00:00
2007-02-20 15:48:04 +00:00
2000-12-10 22:19:50 +00:00
2015-04-23 21:57:10 +02:00
2008-04-24 08:46:41 +00:00