Skip to content

Commit d9ee9a0

Browse files
runtime: fix runtime·raise for dragonfly amd64
Fixes #11847. Change-Id: I21736a4c6f6fb2f61aec1396ce2c965e3e329e92 Reviewed-on: https://go-review.googlesource.com/12621 Reviewed-by: Mikio Hara <[email protected]>
1 parent 3f4d5a5 commit d9ee9a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/sys_dragonfly_amd64.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ TEXT runtime·raise(SB),NOSPLIT,$16
125125
MOVL $496, AX // lwp_gettid
126126
SYSCALL
127127
MOVQ $-1, DI // arg 1 - pid
128-
MOVQ 8(SP), DI // arg 2 - tid
129-
MOVL sig+0(FP), SI // arg 3 - signum
128+
MOVQ AX, SI // arg 2 - tid
129+
MOVL sig+0(FP), DX // arg 3 - signum
130130
MOVL $497, AX // lwp_kill
131131
SYSCALL
132132
RET

0 commit comments

Comments
 (0)