OSDN Git Service

Fixup byte order handling. Not all architectures define __BIG_ENDIAN__ so i.e.
authorEric Andersen <andersen@codepoet.org>
Wed, 14 Dec 2005 02:33:36 +0000 (02:33 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 14 Dec 2005 02:33:36 +0000 (02:33 -0000)
commit7635b30f9d62e33b057d830780a937c6c1d140f5
tree9991bb6bc9f6233ed784521c588cf9e90c8520b3
parentf32600208f4e9db972eb47f7d4959994b31199e6
Fixup byte order handling.  Not all architectures define __BIG_ENDIAN__ so i.e.
on big endian mips the code is compiled as little-endian and the wrong half of
the 64-bit point value is examined to check for NaN, etc.  This bug also broke
fpclassify(), isfinite(), isnormal(), isinf(), finite(), and signbit().
14 files changed:
libc/string/sh64/memset.S
libc/string/sh64/strcpy.S
libc/sysdeps/linux/sh/bits/kernel_stat.h
libm/fp_private.h
libm/powerpc/s_ceil.c
libm/powerpc/s_floor.c
libm/powerpc/s_frexp.c
libm/powerpc/s_ldexp.c
libm/powerpc/s_logb.c
libm/powerpc/s_modf.c
libm/powerpc/s_rint.c
libm/powerpc/s_round.c
libm/powerpc/s_trunc.c
libm/powerpc/w_scalb.c