bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/25665] aarch64 veneers not inserted with large .text object betw


From: wdijkstr at arm dot com
Subject: [Bug ld/25665] aarch64 veneers not inserted with large .text object between caller and target
Date: Tue, 07 Apr 2020 19:41:11 +0000

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

Wilco <wdijkstr at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wdijkstr at arm dot com

--- Comment #9 from Wilco <wdijkstr at arm dot com> ---
(In reply to rrorden from comment #8)
> So the proposal is to add an aarch64 linker option that places stubs after
> input sections that need them, just like aarch32, and I would need to
> implement the -ffunction-sections behavior in our aot compiler so each
> function (and they are relatively small) gets a unique section name. The A53
> erratum would not force every stub section to align to 4k, but that is a
> worst-case scenario. If this is correct, I am okay with it.

You don't need to place every function in its own section (that would add a lot
of overhead if there are millions), just avoid creating sections larger than
say 127MBytes (that allows for >87000 long branch veneers).

-- 
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]