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: tnfchris at sourceware dot org
Subject: [Bug ld/25665] aarch64 veneers not inserted with large .text object between caller and target
Date: Tue, 07 Apr 2020 08:26:12 +0000

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

--- Comment #3 from Tamar Christina <tnfchris at sourceware dot org> ---
This is a difficult one since I don't think we can solve the general problem
without having some compiler support here.

Do you in your big text section is it really one big function like your
example?

Or is it a lot of tiny functions?

if it's the latter then in principle we could put the stubs after every section
and if you use `-ffunction-sections` it should work. but that requires me to be
able to restart linking since I can't tell if a stub is needed till the very
end. But BFD doesn't really allow this. Once you exit the resize phase and are
in the final stages you can't really go back.

So compiler support is the only realistic way forward.. I'll make a proposal
for it and see what comes out of it.

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