https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236
Wilco <wilco at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |wilco at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
--- Comment #9 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Richard Earnshaw from comment #8)
> (In reply to Andrew Pinski from comment #6)
> > Note for Threos OS, please don't reuse the same target triplet as elf or
> > linux; use your own triplet. Also adding long calls is not hard and such.
>
> The correct solution is to implement long call support in the linker in
> conformance with the ABI.
And ld does this correctly, so I fail to see an actual issue here. -mlong-calls
is a terrible hack, so should be avoided unless it's to work around a broken
linker.