glibc/sysdeps
Paul E. Murphy 45ae17dd7e ldbl-128ibm-compat: PLT redirects for using ldbl redirects internally
Tweak the PLT bypass magic when building glibc with long double
redirects.  This is made more difficult by the fact we only get
one chance to redirect functions.  This happens via the public
headers.

There are roughly three classes of redirect we need to attend to
today:

 1. Simple redirects, redirected via cdef macro overrides and
    and new libc_hidden_ldbl_proto macro.
 2. Internal usage of internal API, e.g __snprintf, which has
    no direct analogue.  This is bypassed directly on case-by-
    case basis.
 3. Double redirects, e.g sscanf and related.  These require
    a heavier handed approach of macro renaming to existing
    symbols.

Most simple redirects are handled via 1.  Ideally, the libc_*
macro would live in libc-symbols.h, but in practice the macros
needed for it to do anything useful live in cdefs.h, so they
are defined in the local override.

Notably, the internal name of the asprintf generated for ieee ldbl
redirects is renamed to work with internal prefixed usage.

This resolves the local plt usage introduced when building glibc
with ldbl == ieee128 on ppc64le.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2020-03-25 14:34:23 -05:00
..
aarch64 math: Remove inline math tests 2020-03-19 11:45:44 -03:00
alpha math: Remove inline math tests 2020-03-19 11:45:44 -03:00
arm math: Remove inline math tests 2020-03-19 11:45:44 -03:00
csky math: Remove inline math tests 2020-03-19 11:45:44 -03:00
generic ldbl-128ibm-compat: Provide ieee128 symbols to narrow functions 2020-02-20 17:12:14 -06:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa math: Remove inline math tests 2020-03-19 11:45:44 -03:00
htl pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
hurd C11 threads: Move implementation to sysdeps/pthread 2020-02-09 13:56:48 +01:00
i386 math: Remove inline math tests 2020-03-19 11:45:44 -03:00
ia64 math: Remove inline math tests 2020-03-19 11:45:44 -03:00
ieee754 ldbl-128ibm-compat: PLT redirects for using ldbl redirects internally 2020-03-25 14:34:23 -05:00
m68k math: Remove inline math tests 2020-03-19 11:45:44 -03:00
mach posix: Remove posix waitid 2020-02-27 16:16:17 -03:00
microblaze math: Remove inline math tests 2020-03-19 11:45:44 -03:00
mips math: Remove inline math tests 2020-03-19 11:45:44 -03:00
nios2 math: Remove inline math tests 2020-03-19 11:45:44 -03:00
nptl Linux: set_robust_list syscall number is always available 2020-03-03 12:49:44 +01:00
posix posix: Fix system error return value [BZ #25715] 2020-03-23 18:00:38 -03:00
powerpc math: Remove inline math tests 2020-03-19 11:45:44 -03:00
pthread pthread: Fix building tst-robust8 with nptl 2020-02-16 23:53:45 +01:00
riscv math: Remove inline math tests 2020-03-19 11:45:44 -03:00
s390 math: Remove inline math tests 2020-03-19 11:45:44 -03:00
sh math: Remove inline math tests 2020-03-19 11:45:44 -03:00
sparc math: Remove inline math tests 2020-03-19 11:45:44 -03:00
unix y2038: fix: Add missing libc_hidden_def attribute for some syscall wrappers 2020-03-23 21:21:28 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Remove ARCH_CET_LEGACY_BITMAP [BZ #25397] 2020-03-18 04:35:54 -07:00
x86_64 math: Remove inline math tests 2020-03-19 11:45:44 -03:00