------- Additional Comments From jakub at redhat dot com  2009-06-12 19:10 
-------
The problem with using normal symbol is that if some shared library calls such a
symbol, the .got.plt slot in the shared library will contain address of the .plt
slot in the binary and only its .got.plt will contain the resolved function that
should be called, so in that (hopefully rare, IFUNC doesn't make as much sense
in the binaries as it does in shared libraries and binary overriding symbols in
shared libraries is also not so common) case calls from the shared library need
to hop through two .plt slots.  But I don't see other ways how to make pointer
comparisons work in this case.  Obviously if the binary doesn't take its
address, using IFUNC symbol in the binary is just fine.
-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to