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
a.out.h Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
aio_cancel.c Move remaining SPARC code out of nptl/. 2014-06-20 17:13:47 -07:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
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
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
kernel_sigaction.h m68k: Fix sigaction kernel definition (BZ #23960) 2018-12-18 16:45:10 -02:00
kernel_termios.h 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
ldd-rewrite.sed
Makefile Add VDSO support to sparc. 2018-10-18 11:44:32 -07:00
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 * shlib-versions: Use sparc64.*- for CPU patterns. 2006-03-06 01:34:09 +00:00
sysdep.c * shlib-versions: Use sparc64.*- for CPU patterns. 2006-03-06 01:34:09 +00:00
sysdep.h Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00
Versions Add VDSO support to sparc. 2018-10-18 11:44:32 -07:00