From dd8486ffc195f5fe150b2d3724c7712686cfddb0 Mon Sep 17 00:00:00 2001 From: Frédéric Bérat Date: Thu, 20 Apr 2023 14:07:52 +0200 Subject: string: Ensure *_chk routines have their hidden builtin definition available If libc_hidden_builtin_{def,proto} isn't properly set for *_chk routines, there are unwanted PLT entries in libc.so. Reviewed-by: Siddhesh Poyarekar --- sysdeps/x86_64/memcpy_chk.S | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/x86_64/memcpy_chk.S') diff --git a/sysdeps/x86_64/memcpy_chk.S b/sysdeps/x86_64/memcpy_chk.S index 25cbeb37ee..43843a7abb 100644 --- a/sysdeps/x86_64/memcpy_chk.S +++ b/sysdeps/x86_64/memcpy_chk.S @@ -30,4 +30,5 @@ ENTRY (__memcpy_chk) jb __chk_fail jmp memcpy END (__memcpy_chk) +libc_hidden_builtin_def (__memcpy_chk) #endif -- cgit 1.4.1