public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sysdeps: Add missing hidden definitions for i386
@ 2023-07-06 17:20 Frédéric Bérat
  2023-07-10  8:07 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Bérat @ 2023-07-06 17:20 UTC (permalink / raw)
  To: libc-alpha, Andreas Schwab; +Cc: siddhesh, fberat

Add missing libc_hidden_builtin_def for memset_chk and MEMCPY_CHK on
i386.
---
 sysdeps/i386/memcpy.S | 1 +
 sysdeps/i386/memset.S | 1 +
 2 files changed, 2 insertions(+)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sysdeps: Add missing hidden definitions for i386
  2023-07-06 17:20 [PATCH] sysdeps: Add missing hidden definitions for i386 Frédéric Bérat
@ 2023-07-10  8:07 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2023-07-10  8:07 UTC (permalink / raw)
  To: Frédéric Bérat; +Cc: libc-alpha, siddhesh

On Jul 06 2023, Frédéric Bérat wrote:

> Add missing libc_hidden_builtin_def for memset_chk and MEMCPY_CHK on
> i386.

Ok.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-10  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 17:20 [PATCH] sysdeps: Add missing hidden definitions for i386 Frédéric Bérat
2023-07-10  8:07 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).