diff options
Diffstat (limited to 'src/runtime/sys_solaris_amd64.s')
| -rw-r--r-- | src/runtime/sys_solaris_amd64.s | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/runtime/sys_solaris_amd64.s b/src/runtime/sys_solaris_amd64.s index a36bd37ff0..c542db3986 100644 --- a/src/runtime/sys_solaris_amd64.s +++ b/src/runtime/sys_solaris_amd64.s @@ -290,11 +290,16 @@ exit: RET TEXT runtime·sigfwd(SB),NOSPLIT,$0-32 - MOVL sig+8(FP), DI + MOVQ fn+0(FP), AX + MOVL sig+8(FP), DI MOVQ info+16(FP), SI - MOVQ ctx+24(FP), DX - MOVQ fn+0(FP), AX + MOVQ ctx+24(FP), DX + PUSHQ BP + MOVQ SP, BP + ANDQ $~15, SP // alignment for x86_64 ABI CALL AX + MOVQ BP, SP + POPQ BP RET // Called from runtime·usleep (Go). Can be called on Go stack, on OS stack, |
