From: Frédéric Bérat Date: Thu, 6 Jul 2023 17:14:59 +0000 (+0200) Subject: sysdeps: Add missing hidden definitions for i386 X-Git-Tag: glibc-2.38~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19f9f7f9d5064ad6608e6d40a3aa1b3db8a4a1ae;p=thirdparty%2Fglibc.git sysdeps: Add missing hidden definitions for i386 Add missing libc_hidden_builtin_def for memset_chk and MEMCPY_CHK on i386. --- diff --git a/sysdeps/i386/memcpy.S b/sysdeps/i386/memcpy.S index a6512b453e0..e48396ea216 100644 --- a/sysdeps/i386/memcpy.S +++ b/sysdeps/i386/memcpy.S @@ -46,6 +46,7 @@ ENTRY (MEMCPY_CHK) cmpl %eax, 16(%esp) jb HIDDEN_JUMPTARGET (__chk_fail) END (MEMCPY_CHK) +libc_hidden_builtin_def (MEMCPY_CHK) #endif ENTRY (MEMCPY) PUSH (%esi) diff --git a/sysdeps/i386/memset.S b/sysdeps/i386/memset.S index 4a107d604b1..855720822e3 100644 --- a/sysdeps/i386/memset.S +++ b/sysdeps/i386/memset.S @@ -40,6 +40,7 @@ ENTRY (__memset_chk) cmpl %eax, 16(%esp) jb HIDDEN_JUMPTARGET (__chk_fail) END (__memset_chk) +libc_hidden_builtin_def (__memset_chk) #endif ENTRY (memset) PUSH (%edi)