From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C063C3858D20; Sat, 6 Jan 2024 18:59:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C063C3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704567557; bh=JmvhN20/RmPKwRVWJK001lYosjzqcrSmNfwO3FVLe1w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yEs4hh/e5wuRoqnuDTgvHimf3Xs96hVtI5gmzVKGxv3Tzxa4MD5Sg0VqEQSd5lwrR y8aBqbmcjsMUugjzdoj1Cmt8DURmXeAXIaUKTPn2FVVsWWB2dIz2mbkMemUD5BbhDU UvZoShl9ut1XRzH2BXMiLHoMFip5RIBHhAlUtBGc= From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/31218] PLT rewrite doesn't work on unrelocated definition Date: Sat, 06 Jan 2024 18:59:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31218 --- Comment #1 from H.J. Lu --- IFUNC is fine. The problem is with x32. On x32, PLT rewrite generates: 0xf7fbe060 <+0>: jmp 0x401030 0xf7fbe065 <+5>: int3 0xf7fbe066 <+6>: int3 0xf7fbe067 <+7>: int3 0xf7fbe068 <+8>: int3 0xf7fbe069 <+9>: int3 0xf7fbe06a <+10>: int3 0xf7fbe06b <+11>: int3 0xf7fbe06c <+12>: int3 0xf7fbe06d <+13>: int3 0xf7fbe06e <+14>: int3 0xf7fbe06f <+15>: int3 0xf7fbe060 + 0x401030 overflows. --=20 You are receiving this mail because: You are on the CC list for the bug.=