bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27203] ld ppc: Emit R_PPC64_IRELATIVE instead of R_PPC64_JMP_SLO


From: hjl.tools at gmail dot com
Subject: [Bug ld/27203] ld ppc: Emit R_PPC64_IRELATIVE instead of R_PPC64_JMP_SLOT for non-preemptible ifunc referenced by a DSO
Date: Tue, 19 Jan 2021 12:49:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27203

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alan Modra from comment #2)
> I generated a patch to change powerpc64 to use R_PPC64_IRELATIVE in this
> situation, but now I'm wondering if such a change is a good idea.  IRELATIVE
> relocs must be resolved at program startup whereas JMP_SLOT can be resolved
> lazily.  So we'd be slowing down program startup for no benefit at all if
> the function is never called, and only saving ld.so symbol resolution time
> if the function is called.
> 
> I'm inclined to think this isn't a good idea.

Will it help

https://sourceware.org/bugzilla/show_bug.cgi?id=23169

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]