public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] i386: Don't define stpncpy alias when used in IFUNC [BZ #31768]
@ 2024-05-21 2:35 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-05-21 2:35 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8428278b5f5cee21811339017ca09cccc8c751f7
commit 8428278b5f5cee21811339017ca09cccc8c751f7
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon May 20 17:32:14 2024 -0700
i386: Don't define stpncpy alias when used in IFUNC [BZ #31768]
Fix BZ #31768 by not defining stpncpy alias when used in IFUNC.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
Diff:
---
sysdeps/i386/stpncpy.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysdeps/i386/stpncpy.S b/sysdeps/i386/stpncpy.S
index 895fee8a1e..74130bc71d 100644
--- a/sysdeps/i386/stpncpy.S
+++ b/sysdeps/i386/stpncpy.S
@@ -139,4 +139,6 @@ L(9): popl %esi /* restore saved register content */
END (__stpncpy)
libc_hidden_def (__stpncpy)
+#ifndef __stpncpy
weak_alias (__stpncpy, stpncpy)
+#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-21 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-21 2:35 [glibc] i386: Don't define stpncpy alias when used in IFUNC [BZ #31768] H.J. Lu
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).