Fix fabs(). This commit brought to you by the letter 'l'.

(fstp stores a mem32 value, fstpl stores a mem64 value)

This fixes ghostscript for 'make release' on amd64.  Ghostscript for some
reason thinks it is a good idea to use -fno-builtin, which means it is
vulnerable to bugs in libc that are normally hidden by the builtin gcc
functions.  Oops.
This commit is contained in:
Peter Wemm 2003-09-26 01:49:48 +00:00
parent bffc912d5d
commit ee9003796a

View File

@ -13,6 +13,6 @@ ENTRY(fabs)
movsd %xmm0, -8(%rsp)
fldl -8(%rsp)
fabs
fstp -8(%rsp)
fstpl -8(%rsp)
movsd -8(%rsp),%xmm0
ret