This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/77359] [7 Regression] AIX bootstrap failure due to alignment of stack pointer + STACK_DYNAMIC_OFFSET


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

--- Comment #15 from David Edelsohn <dje at gcc dot gnu.org> ---
The AIX Subroutine Linkage Convention states:

"The address value in the stack pointer must be quadword-aligned. (The address
value must be a multiple of 16.)" - Stack Layout, Note 2.

https://www.ibm.com/support/knowledgecenter/en/ssw_aix_53/com.ibm.aix.aixassem/doc/alangref/linkage_convent.htm

http://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.alangref/idalangref_stack_layout.htm

I believe that requires the change that I proposed to STACK_DYNAMIC_OFFSET in
comment #10.  I will push that patch.

I'm not sure how this should be addressed for the SVR4 ELF ABI when Altivec is
not enabled.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]