https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109566
--- Comment #17 from Segher Boessenkool <segher at gcc dot gnu.org> --- So, apparently powerpc-rtems uses -mpowerpc64 by default?! That is problematic, it changes the ABI, might not actually work at all (it requires your setjmp/longjmp and getcontext/setcontext to restore the full 64-bit registers), and is often bigger and slower code (but not always). I suppose powerpc-rtems gets this from a default CPU choice?