bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26164] powerpc64le: ld requires a nop after a branch to another


From: amodra at gmail dot com
Subject: [Bug ld/26164] powerpc64le: ld requires a nop after a branch to another compilation unit
Date: Thu, 25 Jun 2020 01:24:14 +0000

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

[Prev in Thread] Current Thread [Next in Thread]