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>
This commit is contained in:
H.J. Lu 2024-05-20 17:32:14 -07:00
parent f83e461f10
commit 8428278b5f

View 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