Do not try to store 64 bits into 32 bit errno variable. With the changed libc
data layout, this was corrupting _PathLocale variable leading to programs dumping core in non-default locales.
This commit is contained in:
parent
1600372b6b
commit
f2da7e0e49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145356
@ -55,7 +55,7 @@ HIDENAME(cerror):
|
||||
pushq %rax
|
||||
call PIC_PLT(CNAME(__error))
|
||||
popq %rcx
|
||||
movq %rcx,(%rax)
|
||||
movl %ecx,(%rax)
|
||||
movq $-1,%rax
|
||||
movq $-1,%rdx
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user