https://sourceware.org/bugzilla/show_bug.cgi?id=22911
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #5 from Alan Modra <amodra at gmail dot com> --- The binary search idea is good, but you probably should handle the case where multiple relocs apply to the same address. binary search to get a vma match, scan back to first reloc at that vma, then while the vma matches scan forward for a reloc with suitable symbol. Also, strncmp (name, ".plt", 4) would be nicer than match 3 .plt variants. -- 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