https://sourceware.org/bugzilla/show_bug.cgi?id=26164

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Another thing to consider with regards to glibc assembly is that functions
using plain ENTRY as opposed to ENTRY_TOCLESS may incur extra overhead when
being called.  For example when linking staticly, a call from pcrel code to a
function that uses r2 will never be direct to the local entry point.  Instead
the call will go via a stub to the global entry point.

BTW, -Wl,-stats might be useful in tracking down these cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to