mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -07:00
runtime: reset DF flag after running external code on 386
R=r CC=golang-dev https://golang.org/cl/186108
This commit is contained in:
parent
63d639295c
commit
f85abf01bc
@ -350,6 +350,10 @@ TEXT runcgo(SB),7,$16
|
|||||||
MOVL CX, 4(SP)
|
MOVL CX, 4(SP)
|
||||||
MOVL BX, 0(SP)
|
MOVL BX, 0(SP)
|
||||||
CALL AX
|
CALL AX
|
||||||
|
|
||||||
|
// Back; switch to original stack, re-establish
|
||||||
|
// "DF is clear" invariant.
|
||||||
|
CLD
|
||||||
MOVL 4(SP), SP
|
MOVL 4(SP), SP
|
||||||
RET
|
RET
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user