// Someday the convention will be D is always cleared.
CLD
- RET
+ RET
TEXT runtime·sigtramp(SB),7,$0
- PUSHL BP // cdecl
+ PUSHL BP // cdecl
PUSHL 0(FS)
CALL runtime·sigtramp1(SB)
POPL 0(FS)
TEXT runtime·sigtramp1(SB),0,$16-28
// unwinding?
MOVL info+12(FP), BX
- MOVL 4(BX), CX // exception flags
+ MOVL 4(BX), CX // exception flags
ANDL $6, CX
MOVL $1, AX
- JNZ sigdone
+ JNZ sigdone
// place ourselves at the top of the SEH chain to
// ensure SEH frames lie within thread stack bounds
CALL runtime·sighandler(SB)
TESTL AX, AX
- JZ sigdone
+ JZ sigdone
// call windows default handler early
- MOVL 4(SP), BX // our SEH frame
- MOVL 0(BX), BX // SEH frame of default handler
- MOVL 4(BX), AX // handler function pointer
- MOVL BX, 4(SP) // set establisher frame
+ MOVL 4(SP), BX // our SEH frame
+ MOVL 0(BX), BX // SEH frame of default handler
+ MOVL 4(BX), AX // handler function pointer
+ MOVL BX, 4(SP) // set establisher frame
CALL AX
sigdone:
// Someday the convention will be D is always cleared.
CLD
- CALL runtime·stackcheck(SB) // clobbers AX,CX
+ CALL runtime·stackcheck(SB) // clobbers AX,CX
CALL runtime·mstart(SB)
TEXT runtime·gettime(SB),7,$0
MOVL sec+0(FP), DI
MOVL $0, (DI)
- MOVL $0, 4(DI) // zero extend 32 -> 64 bits
+ MOVL $0, 4(DI) // zero extend 32 -> 64 bits
MOVL usec+4(FP), DI
MOVL $0, (DI)
RET