870-ppc_no_crtsavres.patch 820 B

1234567891011121314151617181920
  1. --- a/gcc/config/rs6000/sysv4.h
  2. +++ b/gcc/config/rs6000/sysv4.h
  3. @@ -248,13 +248,13 @@ do { \
  4. /* Define cutoff for using external functions to save floating point.
  5. When optimizing for size, use external functions when profitable. */
  6. -#define FP_SAVE_INLINE(FIRST_REG) (optimize_size \
  7. +#define FP_SAVE_INLINE(FIRST_REG) (1 || (optimize_size \
  8. ? ((FIRST_REG) == 62 \
  9. || (FIRST_REG) == 63) \
  10. - : (FIRST_REG) < 64)
  11. + : (FIRST_REG) < 64))
  12. /* And similarly for general purpose registers. */
  13. -#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32 \
  14. - && !optimize_size)
  15. +#define GP_SAVE_INLINE(FIRST_REG) (1 || ((FIRST_REG) < 32 \
  16. + && !optimize_size))
  17. /* Put jump tables in read-only memory, rather than in .text. */
  18. #define JUMP_TABLES_IN_TEXT_SECTION 0