glibc/sysdeps
Adhemerval Zanella 5e40fc5900 string: Use asm alias instead of symbol redirections for stpcpy and mempcpy
Commit 939da41143 added symbols redirections to handle ISO C
namespace, however some compiler does not support to redeclare the
function prototype.  Moving these defintions to exported header
it not a good practice (it exposes a internal implementation and
it would require to add macros to define it only internally).

Instead this patch replaces the symbol redirections by direct asm
aliases, as done to handle libcall generation done by compiler on
some loop optimizations. The only issue is sparc binutils generates
an extra __mempcpy plt not called anywhere in the code, which indicates
a binutils issue (this is added in the localplt.data for now).

Checked on all affected ABIs.
2024-04-17 16:12:40 -03:00
..
aarch64 aarch64: Enhanced CPU diagnostics for ld.so 2024-04-08 16:48:55 +02:00
alpha string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
arc string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
arm arm: Remove ld.so __tls_get_addr plt usage 2024-04-04 17:03:32 -03:00
csky Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
generic elf: Add CPU iteration support for future use in ld.so diagnostics 2024-04-08 16:48:55 +02:00
gnu Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hppa Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
htl htl: Implement some support for TLS_DTV_AT_TP 2024-03-23 23:00:30 +01:00
hurd hurd: Move internal functions to internal header 2024-03-23 22:43:07 +01:00
i386 math: x86 trunc traps when FE_INEXACT is enabled (BZ 31603) 2024-04-04 14:29:28 -03:00
ieee754 math: Suppress clang -Wincompatible-library-redeclaration on s_llround 2024-04-17 16:12:10 -03:00
loongarch LoongArch: Correct {__ieee754, _}_scalb -> {__ieee754, _}_scalbf 2024-03-12 14:07:27 +08:00
m68k string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
mach htl: Implement some support for TLS_DTV_AT_TP 2024-03-23 23:00:30 +01:00
microblaze Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
mips math: Update mips64 ulps 2024-02-22 21:28:25 +01:00
nios2 Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
nptl Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
or1k or1k: Only define fpu rouding and exceptions with hard-float 2024-03-22 15:43:34 +00:00
posix posix: Sync tempname with gnulib 2024-04-10 14:53:39 -03:00
powerpc powerpc: Fix ld.so address determination for PCREL mode (bug 31640) 2024-04-14 08:24:51 +02:00
pthread Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
riscv RISC-V: Fix the static-PIE non-relocated object check 2024-03-25 15:17:13 +01:00
s390 s390: Improve static-pie configure tests 2024-02-28 10:09:53 -03:00
sh Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
sparc sparc: Treat the version field in the FPU control word as reserved 2024-02-19 10:55:50 -03:00
unix string: Use asm alias instead of symbol redirections for stpcpy and mempcpy 2024-04-17 16:12:40 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x86 math: Use -fexcess-precision=standard iff compiler supports it 2024-04-17 16:12:40 -03:00
x86_64 Revert "x86_64: Suppress false positive valgrind error" 2024-04-13 17:42:13 +02:00