summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-05-13 10:19:49 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-11-20 14:53:07 -0300
commit17f6eb4b778413e171df7889925317a68d88d312 (patch)
treed8d5602f1c23a8d9b51d31d03b1221da6270f097
parentd30fb0e33181bc82a65eb126d13a8275f7c4dafd (diff)
stdlib: Avoid stpcpy plt with clang
-rw-r--r--sysdeps/generic/symbol-hacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/symbol-hacks.h b/sysdeps/generic/symbol-hacks.h
index 0d728cce91..664c974cdb 100644
--- a/sysdeps/generic/symbol-hacks.h
+++ b/sysdeps/generic/symbol-hacks.h
@@ -21,6 +21,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