提交 d6841499 编写于 作者: S Szabolcs Nagy

fix i386 fesetenv: FE_DFL_ENV is (fenv_t*)-1 not 0

上级 37c25065
......@@ -66,9 +66,9 @@ fegetenv:
fesetenv:
mov 4(%esp),%ecx
xor %eax,%eax
test %ecx,%ecx
inc %ecx
jz 1f
fldenv (%ecx)
fldenv -1(%ecx)
ret
1: push %eax
push %eax
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册