See ifunc3 testcase in http://sources.redhat.com/ml/binutils/2009-06/msg00199.html If binary overrides some shared library's symbol with its STT_GNU_IFUNC symbol and the binary takes address of that symbol, the symbol defined in the binary shouldn't be IMHO STT_GNU_IFUNC pointing to the indirect function, but normal symbol pointing to the PLT slot (which will have R_*_IRELATIVE relocation for its .got.plt), otherwise pointer comparisons don't work well.
-- Summary: IFUNC local symbol Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jakub at redhat dot com CC: bug-binutils at gnu dot org 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