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 Add cygwin_internal() operation to retrieve the EXCEPTION_RECORD from a siginfo_t * 2015-04-23 21:57:10 +02:00
dirent.h Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
elf.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
elf32.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
elf64.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
elf_common.h * include/sys/elf_common.h (R_386_16): Define. 2012-06-10 18:28:16 +00:00
elf_generic.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
file.h * include/sys/file.h: Add extern "C". 2014-08-06 08:46:12 +00:00
ioctl.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
ipc.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
kd.h
lock.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mman.h
mount.h * Makefile.in (DLL_OFILES): Add quotactl.o. 2014-10-17 08:19:27 +00:00
msg.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mtio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
param.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
poll.h
procfs.h
quota.h * Makefile.in (DLL_OFILES): Add quotactl.o. 2014-10-17 08:19:27 +00:00
resource.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
select.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sem.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
shm.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
smallprint.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
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 Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
strace.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
sysinfo.h Adapt to changes in newlib's sys/cdefs.h: 2013-04-22 10:33:09 +00:00
syslimits.h
syslog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sysmacros.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sysproto.h
termio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
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 * include/sys/un.h (UNIX_PATH_MAX): Rename from UNIX_PATH_LEN to 2013-03-07 15:39:35 +00:00
utime.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
utmp.h
utsname.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
vfs.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
wait.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
xattr.h