[Bug target/94236] -mcmodel=large does not work on aarch64

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 20 16:17:11 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
A patch for -mlong-calls was posted a long time ago but never made it in:
https://gcc.gnu.org/legacy-ml/gcc-patches/2014-10/msg02933.html

You should not need -mlong-calls really because the linker should insert stubs
to do the long calls in the end.
Why do you think you need full 64bit addressing for calls rather than the
stubs?


More information about the Gcc-bugs mailing list