summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrédéric Bérat <fberat@redhat.com>2023-07-06 19:14:59 +0200
committerFrédéric Bérat <fberat@redhat.com>2023-07-10 14:48:07 +0200
commit19f9f7f9d5064ad6608e6d40a3aa1b3db8a4a1ae (patch)
tree20a08e5306f2f9e9cd7d44bbc63a761c56b0fedb
parente30048fdc1878a65d9a1a13305d74b8de542bae9 (diff)
downloadglibc-19f9f7f9d5064ad6608e6d40a3aa1b3db8a4a1ae.tar.gz
glibc-19f9f7f9d5064ad6608e6d40a3aa1b3db8a4a1ae.tar.xz
glibc-19f9f7f9d5064ad6608e6d40a3aa1b3db8a4a1ae.zip
sysdeps: Add missing hidden definitions for i386
Add missing libc_hidden_builtin_def for memset_chk and MEMCPY_CHK on
i386.
-rw-r--r--sysdeps/i386/memcpy.S1
-rw-r--r--sysdeps/i386/memset.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/i386/memcpy.S b/sysdeps/i386/memcpy.S
index a6512b453e..e48396ea21 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 4a107d604b..855720822e 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)