From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id 3F2A83858D34; Tue, 21 May 2024 02:35:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F2A83858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1716258953; bh=UM8EloEYEHol9YSOrYvTATirrDVNs/RlCBA7shkbtIE=; h=From:To:Subject:Date:From; b=Sl9Gdm/HNJ3ixJUTUztJ4doDJ/gd1x9v+ws2AJ1a6xJHZxYw24SBtf0ClxMwuO4uW LetC+nquVcgGzIEvTA9UiO833wDw939ih/pjZVAAV/zfa+xEWsodLbE9Ft06qsnqV6 oHrEaghUjaUdqXkaa1m7wN/ju7Qq5jsizi8UIJT4= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: H.J. Lu To: glibc-cvs@sourceware.org Subject: [glibc] i386: Don't define stpncpy alias when used in IFUNC [BZ #31768] X-Act-Checkin: glibc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/master X-Git-Oldrev: f83e461f1014598a5cb4c89407ce303b9f0bd8ac X-Git-Newrev: 8428278b5f5cee21811339017ca09cccc8c751f7 Message-Id: <20240521023553.3F2A83858D34@sourceware.org> Date: Tue, 21 May 2024 02:35:53 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8428278b5f5cee21811339017ca09cccc8c751f7 commit 8428278b5f5cee21811339017ca09cccc8c751f7 Author: H.J. Lu 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 Reviewed-by: Sunil K Pandey 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