[PATCH, committed] Increase 32-bit AIX stack boundary

David Edelsohn dje@watson.ibm.com
Sun Jan 22 21:11:00 GMT 2006


	This patch increases the stack boundary for 32-bit mode AIX to
128, as specified in the current ABI.  This should help Ada on AIX.

Bootstrapped and regression tested on powerpc-ibm-aix5.2.0.0.

David


	* config/rs6000/aix.h (STACK_BOUNDARY): Define.

Index: aix.h
===================================================================
--- aix.h	(revision 110085)
+++ aix.h	(working copy)
@@ -33,6 +33,10 @@
 /* AIX allows r13 to be used in 32-bit mode.  */
 #define FIXED_R13 0
 
+/* 32-bit and 64-bit AIX stack boundary is 128.  */
+#undef  STACK_BOUNDARY
+#define STACK_BOUNDARY 128
+
 /* AIX does not support Altivec.  */
 #undef  TARGET_ALTIVEC
 #define TARGET_ALTIVEC 0



More information about the Gcc-patches mailing list