glibc/include/bits
Gabriel F. T. Gomes 1a502f5260 Add *-ldbl.h headers to include/bits
On some platforms, long double may have either the same format as double
or another, wider format, such as the Quadruple IEC 60559 long double
format or the IBM Extended Precision format (both 128-bits wide).
Selecting between the available formats is done by using one of the
following compiler switches: -mlong-double-128, for the wider format, or
-mlong-double-64, for the narrower.  On all platforms that provide this
choice, the wider format is the default.

When the non-default format is selected by user code (i.e.: when
building with -mlong-double-64) calls to functions that take long double
parameters or return a long double type (e.g.: strfroml) are redirected
to a compat function, via assembler redirection, by headers such as
bits/stdlib-ldbl.h or bits/misc-ldbl.h.

In glibc builds, however, these headers are currently being read from
the system directories (/usr/include/bits) rather than from the source
directory.  Although this works correctly today, it raises
reproducibility concerns.  Besides that, builds for powerpc64le will
need these files from the source directory, because on powerpc64le, the
new redirections for long double with IEEE binary128 format will be
implemented in these headers.

Tested for powerpc64 and powerpc64le.
2018-12-11 15:00:11 -02:00
..
types
cmathcalls.h
cpu-set.h
dlfcn.h
error.h
fcntl2.h
getopt_core.h
getopt_ext.h
getopt_posix.h
locale.h
mathcalls-helper-functions.h
mathcalls-narrow.h Add build infrastructure for narrowing libm functions. 2018-02-09 21:18:52 +00:00
mathcalls.h
monetary-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
poll2.h
posix1_lim.h
posix2_lim.h
printf-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
select2.h
setjmp2.h
socket2.h
stab.def
statx.h Add the statx function 2018-07-10 16:14:45 +02:00
stdio-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
stdlib-float.h
stdlib-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
stdlib.h
string2.h
string_fortified.h
strings_fortified.h
syslog-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
syslog.h
types.h
unistd.h
wchar2.h
wchar-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
wctype-wchar.h
xopen_lim.h