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

index e4b6816240c7e8bf11913b90e13b52c256629e18..b3c536e8ac6a145e39866922848107318db1fc55 100644 (file)
@@ -29,6 +29,7 @@ asm ("__strcpy_chk = __GI___strcpy_chk");
 asm ("strcpy = __GI_strcpy");
 asm ("strncpy = __GI_strncpy");
 asm ("strcat = __GI_strcat");
+asm ("strlen = __GI_strlen");
 
 /* clang might generate an abort call when cleanup functions (set by
    __attribute__ ((cleanup)) calls functions not marked as nothrow.