glibc/sysdeps/unix/sysv/linux/sparc
Tulio Magno Quites Machado Filho 1ef9b6e0bf Do not redirect calls to __GI_* symbols, when redirecting to *ieee128
On platforms where long double has IEEE binary128 format as a third
option (initially, only powerpc64le), many exported functions are
redirected to their __*ieee128 equivalents.  This redirection is
provided by installed headers such as stdio-ldbl.h, and is supposed to
work correctly with user code.

However, during the build of glibc, similar redirections are employed,
in internal headers, such as include/stdio.h, in order to avoid extra
PLT entries.  These redirections conflict with the redirections to
__*ieee128, and must be avoided during the build.  This patch protects
the second redirections with a test for __LONG_DOUBLE_USES_FLOAT128, a
new macro that is defined to 1 when functions that deal with long double
typed values reuses the _Float128 implementation (this is currently only
true for powerpc64le).

Tested for powerpc64le, x86_64, and with build-many-glibcs.py.

Co-authored-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2019-12-27 15:02:10 -03:00
..
bits Define __STATFS_MATCHES_STATFS64 2019-10-24 09:14:26 -07:00
sparc32 Do not redirect calls to __GI_* symbols, when redirecting to *ieee128 2019-12-27 15:02:10 -03:00
sparc64 Do not redirect calls to __GI_* symbols, when redirecting to *ieee128 2019-12-27 15:02:10 -03:00
sys Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h. 2019-10-14 23:43:52 +00:00
Implies
Makefile
Versions
a.out.h
aio_cancel.c
configure
configure.ac
dl-cache.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getrlimit64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getshmlba.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getsysstats.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
kernel-features.h Update sysvipc kernel-features.h files for Linux 5.1 2019-10-18 11:01:13 -03:00
kernel_sigaction.h
kernel_termios.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldd-rewrite.sed
profil-counter.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
readelflib.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
rt-sysdep.c
sysdep.c
sysdep.h Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00