https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669

--- Comment #33 from Wilco <wdijkstr at arm dot com> ---
(In reply to Iain Sandoe from comment #30)

> From "Mac_OS_X_ABI_Function_Calls.pdf"
> 
> m32 calling convention
> 
> Prologs and Epilogs
> The called function is responsible for allocating its own stack frame,
> making sure to preserve 16-byte alignment in the stack. This operation is
> accomplished by a section of code called the prolog, which the compiler
> places before the body of the subroutine. After the body of the subroutine,
> the compiler places an epilog to restore the processor to the state it was
> prior to the subroutine call.

So functions must preserve 16-byte alignment, but can they rely on the stack
being always 16-byte aligned on entry?

Reply via email to