]> sourceware.org Git - glibc.git/commitdiff
i386: Don't define stpncpy alias when used in IFUNC [BZ #31768]
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 21 May 2024 00:32:14 +0000 (17:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 21 May 2024 02:35:00 +0000 (19:35 -0700)
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>
sysdeps/i386/stpncpy.S

index 895fee8a1e79529ec89f649b4057d65be7dcafb4..74130bc71d177a1cba026489d47279fc0d69ed12 100644 (file)
@@ -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
This page took 0.04431 seconds and 5 git commands to generate.