mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-23 21:54:16 +03:00
fix i386 fesetenv: FE_DFL_ENV is (fenv_t*)-1 not 0
This commit is contained in:
parent
37c25065be
commit
d684149910
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user