]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
stdlib: Avoid stpcpy plt with clang
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 13 May 2025 13:19:49 +0000 (10:19 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Oct 2025 16:54:55 +0000 (13:54 -0300)
sysdeps/generic/symbol-hacks.h

index 2f660a073a4cc31e6cab875fb363e410f9438837..377acd7d70ab74a2b594f074dc5897bab64f92ca 100644 (file)
@@ -45,6 +45,7 @@ asm ("strcpy = __GI_strcpy");
 asm ("strncpy = __GI_strncpy");
 asm ("strcat = __GI_strcat");
 asm ("strlen = __GI_strlen");
+asm ("stpcpy = __GI_stpcpy");
 
 /* Some targets do not use __stack_chk_fail_local.  In libc.so,
    redirect __stack_chk_fail to a hidden reference