+2010-08-21 Olivier Hainque <hainque@adacore.com>
+
+ * config/rs6000/vxworks.h: (PREFERRED_STACK_BOUNDARY,
+ ABI_STACK_BOUNDARY): Ensure STACK_BOUNDARY is honored despite EABI.
+
2010-08-20 Jan Hubicka <jh@suse.cz>
* tree-pass.h (pass_ipa_cdtor_merge): New function.
#undef SDATA_DEFAULT_SIZE
#define SDATA_DEFAULT_SIZE (TARGET_VXWORKS_RTP ? 8 : 0)
+/* Enforce 16bytes alignment for the stack pointer, to permit general
+ compliance with e.g. Altivec instructions requirements. Make sure
+ this isn't overruled by the EABI constraints. */
+
#undef STACK_BOUNDARY
#define STACK_BOUNDARY (16*BITS_PER_UNIT)
-/* Override sysv4.h, reset to the default. */
+
#undef PREFERRED_STACK_BOUNDARY
+#define PREFERRED_STACK_BOUNDARY STACK_BOUNDARY
+
+#undef ABI_STACK_BOUNDARY
/* Make -mcpu=8540 imply SPE. ISEL is automatically enabled, the
others must be done by hand. Handle -mrtp. Disable -fPIC