bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13178] Unnecessary GOT relocation created for IFUNC


From: hjl.tools at gmail dot com
Subject: [Bug ld/13178] Unnecessary GOT relocation created for IFUNC
Date: Sun, 11 Sep 2011 18:29:15 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13178

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-11 18:29:15 
UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > X86_64_GLOB_DAT was used to preempt f.  Will preempt work without
> > X86_64_GLOB_DAT?
> 
> You mean preloading such an object?  Why should this matter?  Any relocation
> will only look at the symbol record in the DSO with the definition.  This will
> prevoke the indirect function be called, even in the case of dlsym().
> 
> What do I miss?  Please describe the situation I think needs this relocation.

There may be another 'f' definition in executable or a DSO before
u.so. We need to make sure that f in u.so isn't used in this case
by updating its GOT entry.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]