From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B6F87385702B; Thu, 29 Jul 2021 22:54:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6F87385702B From: "i at maskray dot me" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/28154] [test] sysdeps/x86/tst-ifunc-isa-* lazy binding failure with ld.lld Date: Thu, 29 Jul 2021 22:54:24 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i at maskray dot me X-Bugzilla-Status: UNCONFIRMED 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: cc 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 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2021 22:54:24 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28154 Fangrui Song changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #2 from Fangrui Song --- (In reply to H.J. Lu from comment #1) > See PR ld/13302. lld should implement the same behavior. I think the GNU ld PowerPC (ld.lld) behavior (IRELATIVE in .rela.dyn) makes more sense. IRELATIVE relocations are eagerly resolved, so .rela.dyn is bet= ter than .rela.plt . .rela.plt should only have JUMP_SLOT. To make PR ld/13302 work, ld.so can pause at IRELATIVE in .rela.dyn and sta= rt applying .rela.plt (I use the section names for simplicity. Impl should use dynamic tags DT_RELA/DT_JMPREL.) --=20 You are receiving this mail because: You are on the CC list for the bug.=