1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-10 05:03:06 +03:00

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.
This commit is contained in:
Gabriel F. T. Gomes
2018-07-04 11:54:11 -03:00
parent c259196b50
commit 6e1f6440b9
17 changed files with 112 additions and 1 deletions

1
include/bits/argp-ldbl.h Normal file
View File

@@ -0,0 +1 @@
#include <argp/bits/argp-ldbl.h>