sysdeps: Add missing hidden definitions for i386

Add missing libc_hidden_builtin_def for memset_chk and MEMCPY_CHK on
i386.
This commit is contained in:
Frédéric Bérat 2023-07-06 19:14:59 +02:00
parent e30048fdc1
commit 19f9f7f9d5
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)