https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236
--- Comment #3 from Aron <baratharon at caesar dot elte.hu> --- (In reply to Andrew Pinski from comment #1) > -mcmodel=large does not control long calls. Sadly, aarch64 lacks -mlong-calls which I use on armv7, therefore I thought based on the specification -mcmodel=large would handle it. Also, on x86_64, -mcmodel=large handles it. I'm confused.