870-ppc_no_crtsavres.patch 408 B

1234567891011
  1. --- a/gcc/config/rs6000/rs6000.c
  2. +++ b/gcc/config/rs6000/rs6000.c
  3. @@ -21528,7 +21528,7 @@ rs6000_savres_strategy (rs6000_stack_t *
  4. /* Define cutoff for using out-of-line functions to save registers. */
  5. if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
  6. {
  7. - if (!optimize_size)
  8. + if (1)
  9. {
  10. strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS;
  11. strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS;