https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106338
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The only reason why aarch64 changed their static chain register was because it was used for TLS on darwin (and IIRC on VXWorks). static chain is not part of the ABI (unless RISCV folks want to do that). And there are no PLTs between the function calls.