vxworks.h: (PREFERRED_STACK_BOUNDARY...

* config/rs6000/vxworks.h:  (PREFERRED_STACK_BOUNDARY, 
        ABI_STACK_BOUNDARY): Ensure STACK_BOUNDARY is honored despite EABI.

From-SVN: r163447
This commit is contained in:
Olivier Hainque 2010-08-21 20:48:34 +00:00 committed by Olivier Hainque
parent 246a2fcb5e
commit b35525489b
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -113,10 +113,17 @@ VXWORKS_ADDITIONAL_CPP_SPEC
#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