This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: x86: Fall back to lazy binding for unrelocated IFUNC symbol [BZ #23240]


On 05/28/2018 09:51 PM, H.J. Lu wrote:
Here is the updated patch.  It fails to back lazy binding only
if GOT is writable.

I think this still sets a wrong incentive, as in “you need to have a writable GOT for full forwards compatibility with future library evolution”.

I think if we detect an IFUNC-based relocation against a not-yet-fully-relocated object, we need to delay this relocation processing and perform a second pass of all delayed relocations. I have a patch which needs a little bit of work, but looks quite promising (to me at least).

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]