From 17f6eb4b778413e171df7889925317a68d88d312 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 13 May 2025 10:19:49 -0300 Subject: [PATCH] stdlib: Avoid stpcpy plt with clang --- sysdeps/generic/symbol-hacks.h | 1 + 1 file changed, 1 insertion(+) 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