]> Cypherpunks repositories - gostls13.git/commit
runtime: get rid of SA_RESTORER on ARM.
authorShenghou Ma <minux@golang.org>
Wed, 6 Aug 2014 04:24:55 +0000 (00:24 -0400)
committerShenghou Ma <minux@golang.org>
Wed, 6 Aug 2014 04:24:55 +0000 (00:24 -0400)
commitde14137b4f179d97ac303d20330ba0ad622eab28
tree414ad536d8cdbeaf9b1c5287808e1274c78443e4
parent3c24b60fd3e3e6c20cba64cda8ff01fd3a2c5216
runtime: get rid of SA_RESTORER on ARM.

The manpages says SA_RESTORER is obsolete, and indeed, not every architecture
support it. However, sadly it's required on x86_64, see http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/signal.c?id=26bcd8b72563b4c54892c4c2a409f6656fb8ae8b#n430, so only use it on x86.

LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/115450043
src/pkg/runtime/defs_linux_arm.h
src/pkg/runtime/os_linux.c
src/pkg/runtime/sys_linux_arm.s