This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: STACK_BOUNDARY on alpha ports ?
On Thu, Jan 22, 2004 at 12:31:38PM +0100, Olivier Hainque wrote:
> The OpenVMS calling standard for alpha states (3.7.1 Call conventions):
>
> o Stack usage: At any time, the stack pointer must denote an address that
> has the minimum alignment required by the Alpha hardware. In addition,
> whenever control is transferred to another procedure, the stack must be
> octaword aligned.
>
> Would setting STACK_BOUNDARY to 128 be the right way to address that ?
Well, it's a start. I didn't see anything in the prologue code to
round up the stack frame size; that doesn't mean it isn't hiding
somewhere, but it does mean someone needs to look.
> As for Unicos, the status of it's support in GCC is unclear to me.
>
> The section in "supported platforms" is not attractive and I couldn't find
> a mention of unicos in MAINTAINTERS.
Roman Lechtchinsky, cc'd, contributed the port. Roman, the question
is what the unicos abi requires for stack pointer alignment. All
the other ABIs require 16-byte alignment; is it the same there?
r~