https://sourceware.org/bugzilla/show_bug.cgi?id=22374
--- Comment #2 from Alan Modra <amodra at gmail dot com> --- Thanks HJ. The powerpc patch I'm testing doesn't need reference counting of function pointers now that check_relocs is running after gc_sections (and probably x86 also doesn't need ref counting nowadays). It's quite a simple patch, making use of the fact that needs_plt is set on powerpc only when encountering branch relocs or relocs that explicitly create a plt entry. So if needs_plt is not set I can do without a plt entry if there are no dynamic relocs in read-only sections. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils