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> |
||
|---|---|---|
| .. | ||
| 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 | ||
| uio.h | ||
| un.h | ||
| utime.h | ||
| utmp.h | ||
| utsname.h | ||
| vfs.h | ||
| wait.h | ||
| xattr.h | ||