mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
90188e7d1a
When support for long double format with 128-bits (-mlong-double-128) was added for platforms where long double had the same format as double, such as powerpc, compatibility versions for the functions listed in the commit title were missed. Since the older format of long double can still be used (with -mlong-double-64), using these functions with a format string that requests the printing of long double variables will produce wrong outputs. This patch adds the missing compatibility functions and header magic to redirect calls to them when -mlong-double-64 is in use. Tested for powerpc, powerpc64 and powerpc64le.
2 lines
32 B
C
2 lines
32 B
C
#include <misc/bits/err-ldbl.h>
|