]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
stdlib: Avoid strlen plt with clang
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 7 Apr 2025 20:32:08 +0000 (17:32 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Oct 2025 16:54:55 +0000 (13:54 -0300)
sysdeps/generic/symbol-hacks.h

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