mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-03 04:01:43 +08:00
1b6adf888d
http://sourceware.org/ml/libc-alpha/2013-08/msg00081.html This is the first of a series of patches to ban ieee854_long_double and the ieee854_long_double macros when using IBM long double. union ieee854_long_double just isn't correct for IBM long double, especially when little-endian, and pretending it is OK has allowed a number of bugs to remain undetected in sysdeps/ieee754/ldbl-128ibm/. This changes the few places in generic code that use it. * stdio-common/printf_size.c (__printf_size): Don't use union ieee854_long_double in fpnum union. * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use signbit macro to retrieve sign from long double. * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to retrieve sign from long double. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. * math/test-misc.c (main): Don't use union ieee854_long_double. ports/ * sysdeps/ia64/fpu/printf_fphex.c: Adjust for fpnum change. |
||
---|---|---|
.. | ||
64 | ||
bits | ||
fpu | ||
multiarch | ||
x32 | ||
____longjmp_chk.S | ||
__longjmp.S | ||
_mcount.S | ||
abort-instr.h | ||
add_n.S | ||
addmul_1.S | ||
backtrace.c | ||
bsd-_setjmp.S | ||
bsd-setjmp.S | ||
bzero.S | ||
cacheinfo.c | ||
configure | ||
configure.in | ||
crti.S | ||
crtn.S | ||
dl-irel.h | ||
dl-lookupcfg.h | ||
dl-machine.h | ||
dl-runtime.c | ||
dl-tls.h | ||
dl-tlsdesc.h | ||
dl-tlsdesc.S | ||
dl-trampoline.h | ||
dl-trampoline.S | ||
ffs.c | ||
ffsll.c | ||
hp-timing.c | ||
hp-timing.h | ||
htonl.S | ||
Implies | ||
jmpbuf-offsets.h | ||
jmpbuf-unwind.h | ||
l10nflist.c | ||
ldbl2mpn.c | ||
ldsodefs.h | ||
link-defines.sym | ||
locale-defines.sym | ||
lshift.S | ||
machine-gmon.h | ||
Makefile | ||
memchr.S | ||
memcmp.S | ||
memcpy_chk.S | ||
memcpy.S | ||
memmove.c | ||
mempcpy_chk.S | ||
mempcpy.S | ||
memrchr.S | ||
memset_chk.S | ||
memset.S | ||
memusage.h | ||
mp_clz_tab.c | ||
mul_1.S | ||
preconfigure | ||
preconfigure.in | ||
rawmemchr.S | ||
rshift.S | ||
rtld-memcmp.c | ||
rtld-memset.S | ||
rtld-strchr.S | ||
rtld-strlen.S | ||
sched_cpucount.c | ||
setjmp.S | ||
stackguard-macros.h | ||
stackinfo.h | ||
start.S | ||
stpcpy_chk.S | ||
stpcpy.S | ||
strcasecmp_l-nonascii.c | ||
strcasecmp_l.S | ||
strcasecmp.S | ||
strcat.S | ||
strchr.S | ||
strchrnul.S | ||
strcmp.S | ||
strcpy_chk.S | ||
strcpy.S | ||
strcspn.S | ||
strlen.S | ||
strncase_l-nonascii.c | ||
strncase_l.S | ||
strncase.S | ||
strncmp.S | ||
strnlen.S | ||
strpbrk.S | ||
strrchr.S | ||
strspn.S | ||
strtok_r.S | ||
strtok.S | ||
sub_n.S | ||
submul_1.S | ||
sysdep.h | ||
tls-macros.h | ||
tlsdesc.c | ||
tlsdesc.sym | ||
tst-audit3.c | ||
tst-audit4.c | ||
tst-audit5.c | ||
tst-audit6.c | ||
tst-audit7.c | ||
tst-audit.h | ||
tst-auditmod3a.c | ||
tst-auditmod3b.c | ||
tst-auditmod4a.c | ||
tst-auditmod4b.c | ||
tst-auditmod5a.c | ||
tst-auditmod5b.c | ||
tst-auditmod6a.c | ||
tst-auditmod6b.c | ||
tst-auditmod6c.c | ||
tst-auditmod7a.c | ||
tst-auditmod7b.c | ||
tst-mallocalign1.c | ||
tst-quad1.c | ||
tst-quad1pie.c | ||
tst-quad2.c | ||
tst-quad2pie.c | ||
tst-quadmod1.S | ||
tst-quadmod1pie.S | ||
tst-quadmod2.S | ||
tst-quadmod2pie.S | ||
tst-stack-align.h | ||
Versions | ||
wcschr.S | ||
wcscmp.S | ||
wcslen.S | ||
wcsrchr.S |