From d9ee9a0f6e4b83737013fff1551d0875c4442709 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 23 Jul 2015 19:00:15 -0700 Subject: [PATCH] =?UTF-8?q?runtime:=20fix=20runtime=C2=B7raise=20for=20dra?= =?UTF-8?q?gonfly=20amd64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #11847. Change-Id: I21736a4c6f6fb2f61aec1396ce2c965e3e329e92 Reviewed-on: https://go-review.googlesource.com/12621 Reviewed-by: Mikio Hara --- src/runtime/sys_dragonfly_amd64.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/sys_dragonfly_amd64.s b/src/runtime/sys_dragonfly_amd64.s index 3dae2a79df..7e8dc1bbc3 100644 --- a/src/runtime/sys_dragonfly_amd64.s +++ b/src/runtime/sys_dragonfly_amd64.s @@ -125,8 +125,8 @@ TEXT runtime·raise(SB),NOSPLIT,$16 MOVL $496, AX // lwp_gettid SYSCALL MOVQ $-1, DI // arg 1 - pid - MOVQ 8(SP), DI // arg 2 - tid - MOVL sig+0(FP), SI // arg 3 - signum + MOVQ AX, SI // arg 2 - tid + MOVL sig+0(FP), DX // arg 3 - signum MOVL $497, AX // lwp_kill SYSCALL RET