about summary refs log tree commit diff
path: root/include/bits/argp-ldbl.h
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-07-04 11:54:11 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2019-03-01 15:21:32 -0300
commit6e1f6440b99d74db314a9f1a1b27c050ef62a45c (patch)
tree4e4426ee1e4130fa089e0a1295f5078a35d38472 /include/bits/argp-ldbl.h
parentc259196b5005812aa3294dbf4eeca29b266a4522 (diff)
downloadglibc-6e1f6440b99d74db314a9f1a1b27c050ef62a45c.tar.gz
glibc-6e1f6440b99d74db314a9f1a1b27c050ef62a45c.tar.xz
glibc-6e1f6440b99d74db314a9f1a1b27c050ef62a45c.zip
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 'include/bits/argp-ldbl.h')
-rw-r--r--include/bits/argp-ldbl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bits/argp-ldbl.h b/include/bits/argp-ldbl.h
new file mode 100644
index 0000000000..7c1a343d1b
--- /dev/null
+++ b/include/bits/argp-ldbl.h
@@ -0,0 +1 @@
+#include <argp/bits/argp-ldbl.h>