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.