ldbl-opt: Add argp_error and argp_failure (bug 23983)
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Wed, 4 Jul 2018 14:54:11 +0000 (11:54 -0300)
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Fri, 1 Mar 2019 18:21:32 +0000 (15:21 -0300)
commit6e1f6440b99d74db314a9f1a1b27c050ef62a45c
tree4e4426ee1e4130fa089e0a1295f5078a35d38472
parentc259196b5005812aa3294dbf4eeca29b266a4522
ldbl-opt: Add argp_error and argp_failure (bug 23983)

The functions argp_error and argp_failure are missing support for
printing long double values when long double has the same format as
double.  This patch adds the new functions __nldbl_argp_error and
__nldbl_argp_failure, as well as header magic to redirect calls to them
when -mlong-double-64 is in use.

Tested for powerpc, powerpc64 and powerpc64le.
17 files changed:
ChangeLog
argp/Makefile
argp/argp.h
argp/bits/argp-ldbl.h [new file with mode: 0644]
include/argp.h
include/bits/argp-ldbl.h [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/Versions
sysdeps/ieee754/ldbl-opt/nldbl-compat.c
sysdeps/ieee754/ldbl-opt/nldbl-compat.h
sysdeps/unix/sysv/linux/alpha/libc.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist