diff options
| author | Ian Lance Taylor <iant@golang.org> | 2015-12-16 12:16:17 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2015-12-18 22:27:38 +0000 |
| commit | fbdfa99246ecbb04954a042a5809c4748415574d (patch) | |
| tree | 5348546989d1f40d7c9b4e2a8a400fc6591545fb /src/runtime/sys_linux_arm.s | |
| parent | 32cf985d1a74b2d5f0f79835f0c1be5c44db77ff (diff) | |
| download | go-fbdfa99246ecbb04954a042a5809c4748415574d.tar.xz | |
runtime: for c-archive/c-shared, don't install unnecessary signal handlers
Only install signal handlers for synchronous signals that become
run-time panics. Set the SA_ONSTACK flag for other signal handlers as
needed.
Fixes #13028.
Update #12465.
Update #13034.
Update #13042.
Change-Id: I28375e70641f60630e10f3c86e24b6e4f8a35cc9
Reviewed-on: https://go-review.googlesource.com/17903
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_arm.s')
| -rw-r--r-- | src/runtime/sys_linux_arm.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/sys_linux_arm.s b/src/runtime/sys_linux_arm.s index 216781ef7a..6a3b924330 100644 --- a/src/runtime/sys_linux_arm.s +++ b/src/runtime/sys_linux_arm.s @@ -339,7 +339,11 @@ TEXT runtime·sigfwd(SB),NOSPLIT,$0-16 MOVW info+8(FP), R1 MOVW ctx+12(FP), R2 MOVW fn+0(FP), R11 + MOVW R13, R4 + SUB $24, R13 + BIC $0x7, R13 // alignment for ELF ABI BL (R11) + MOVW R4, R13 RET TEXT runtime·sigtramp(SB),NOSPLIT,$12 |
