https://sourceware.org/bugzilla/show_bug.cgi?id=22360
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX Component|binutils |ld Summary|Wl not wrapping all |ld --wrap not wrapping all |functions call |function calls --- Comment #3 from Alan Modra <amodra at gmail dot com> --- Yes, it is true that --wrap does not use wrappers for all calls. As the documentation says: "Any undefined reference...". If you have any sort of definition, including a weak one, those calls won't be wrapped. This is particularly annoying if trying to wrap calls when using -flto. -- You are receiving this mail because: You are on the CC list for the bug.