You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
716 B

  1. commit d8c570a1531035c3e26bcd94741e5f5b9c36b5d9
  2. Author: Felix Fietkau <nbd@openwrt.org>
  3. Date: Mon Mar 5 00:51:01 2012 +0000
  4. gcc: do not emit references to _savegpr_* and _restgpr_* on powerpc, as they are tricky to deal with wrt. libgcc. they cannot be linked dynamically
  5. SVN-Revision: 30814
  6. --- a/gcc/config/rs6000/rs6000.c
  7. +++ b/gcc/config/rs6000/rs6000.c
  8. @@ -26981,7 +26981,7 @@ rs6000_savres_strategy (rs6000_stack_t *
  9. /* Define cutoff for using out-of-line functions to save registers. */
  10. if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
  11. {
  12. - if (!optimize_size)
  13. + if (1)
  14. {
  15. strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS;
  16. strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS;