Blame gcc44-ppc64-aixdesc.patch

6c16939
2009-09-16  Jakub Jelinek  <jakub@redhat.com>
6c16939
6c16939
	* config/rs6000/sysv4.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Disable
6c16939
	out of line gpr/fpr saving for -m64 -Os -mcall-aixdesc.
6c16939
6c16939
--- gcc/config/rs6000/sysv4.h.jj	2009-09-16 14:46:19.000000000 +0200
6c16939
+++ gcc/config/rs6000/sysv4.h	2009-09-16 14:46:19.000000000 +0200
6c16939
@@ -273,12 +273,14 @@ do {									\
6c16939
 /* Define cutoff for using external functions to save floating point.
6c16939
    When optimizing for size, use external functions when profitable.  */
6c16939
 #define FP_SAVE_INLINE(FIRST_REG) (optimize_size			\
6c16939
+				   && (!TARGET_64BIT || !DOT_SYMBOLS)	\
6c16939
 				   ? ((FIRST_REG) == 62			\
6c16939
 				      || (FIRST_REG) == 63)		\
6c16939
 				   : (FIRST_REG) < 64)
6c16939
 /* And similarly for general purpose registers.  */
6c16939
-#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32	\
6c16939
-				   && !optimize_size)
6c16939
+#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32			\
6c16939
+				   && (!optimize_size			\
6c16939
+				        || (TARGET_64BIT && DOT_SYMBOLS)))
6c16939
 
6c16939
 /* Put jump tables in read-only memory, rather than in .text.  */
6c16939
 #define JUMP_TABLES_IN_TEXT_SECTION 0