]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC64LE] Fix gdtoa configurations on LE.
authorBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 02:05:44 +0000 (02:05 +0000)
committerBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 02:05:44 +0000 (02:05 +0000)
commitb25731010333d1b7654d31a1a58c2bf1d3b6a177
tree685a9b158f6667608df252d63541edf68195518c
parent0d356a5349afc0d67bdbb20097f912c69213e187
[PowerPC64LE] Fix gdtoa configurations on LE.

gdtoa wins the award for "most outdated endianness naming convention"
with its IEEE_8087 vs IEEE_MC68k defines. I had a good chuckle.

Update softfloat and arith.h to adjust to BE or LE automatically
based on the low level preprocessor defines.

Fixes printf/scanf on PowerPC64LE, although there is still a problem
lurking regarding Signalling NaNs...

Sponsored by: Tag1 Consulting, Inc.
lib/libc/powerpc/softfloat/powerpc-gcc.h
lib/libc/powerpc64/arith.h