diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2018-07-04 11:54:11 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2019-03-01 15:21:32 -0300 |
commit | 6e1f6440b99d74db314a9f1a1b27c050ef62a45c (patch) | |
tree | 4e4426ee1e4130fa089e0a1295f5078a35d38472 /ChangeLog | |
parent | c259196b5005812aa3294dbf4eeca29b266a4522 (diff) | |
download | glibc-6e1f6440b99d74db314a9f1a1b27c050ef62a45c.zip glibc-6e1f6440b99d74db314a9f1a1b27c050ef62a45c.tar.gz glibc-6e1f6440b99d74db314a9f1a1b27c050ef62a45c.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -1,3 +1,31 @@ +2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br> + + [BZ #23983] + * argp/Makefile (headers): Add bits/argp-ldbl.h. + * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h. + * argp/bits/argp-ldbl.h: New file. + * include/argp.h: Include stdarg.h. Add prototypes for internal + functions: __argp_error_internal and __argp_failure_internal. + * include/bits/argp-ldbl.h: New file. + * sysdeps/ieee754/ldbl-opt/Versions (libc): Add + __nldbl_argp_error and __nldbl_argp_failure. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h. + (__nldbl_argp_error, __nldbl_argp_failure): New functions. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h. + Redirect argp_error and argp_failure calls. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + 2019-03-01 Florian Weimer <fweimer@redhat.com> [BZ #20419] |