aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_amd64.s
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2018-03-06 20:47:38 -0800
committerIan Lance Taylor <iant@golang.org>2018-03-07 23:30:02 +0000
commitc2f28de732749425ea29b5efa982c407964f8560 (patch)
treeceed9e1e77033e10ef85d650323740dacb021e1b /src/runtime/sys_linux_amd64.s
parentd8c9ef9e5cb6d485d9e15a48884ffb1162c48fb3 (diff)
downloadgo-c2f28de732749425ea29b5efa982c407964f8560.tar.gz
go-c2f28de732749425ea29b5efa982c407964f8560.zip
runtime: change from rt_sigaction to sigaction
This normalizes the Linux code to act like other targets. The size argument to the rt_sigaction system call is pushed to a single function, sysSigaction. This is intended as a simplification step for CL 93875 for #14327. Change-Id: I594788e235f0da20e16e8a028e27ac8c883907c4 Reviewed-on: https://go-review.googlesource.com/99077 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
-rw-r--r--src/runtime/sys_linux_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_linux_amd64.s b/src/runtime/sys_linux_amd64.s
index 210730e405..323078f9ea 100644
--- a/src/runtime/sys_linux_amd64.s
+++ b/src/runtime/sys_linux_amd64.s
@@ -287,7 +287,7 @@ TEXT runtime·rtsigprocmask(SB),NOSPLIT,$0-28
MOVL $0xf1, 0xf1 // crash
RET
-TEXT runtime·sysSigaction(SB),NOSPLIT,$0-36
+TEXT runtime·rt_sigaction(SB),NOSPLIT,$0-36
MOVQ sig+0(FP), DI
MOVQ new+8(FP), SI
MOVQ old+16(FP), DX