[Bug 195] powerpc: ABI confusion
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Jan 10 20:28:06 UTC 2008
http://www.rtems.org/bugzilla/show_bug.cgi?id=195
--- Comment #4 from Joel Sherrill <joel.sherrill at oarcorp.com> 2008-01-10 14:28:05 ---
(In reply to comment #3)
> (In reply to comment #1)
> > Fix:
> > Clarify the ABI situation.
> >
> > From Thomas Doerfler:
> > EABI and SVR4 are sufficently similar to accept the setting "no-eabi" for multilib generation. Only data type "long double" inside structures at non-16-byte-aligned positions might lead to trouble.
>
> From Till Straumann:
> Stack alignment is also different; EABI requires 8-bytes, SVR4 16-bytes.
> RTEMS currently aligns the stack only to 8-bytes (since EABI is the default).
> This is in violation of SVR4 but largely goes unnoticed (but it breaks
> e.g., altivec which needs 16-byte stack alignment. Altivec is AFAIK compatible
> with svr4 but not eabi).
>
Making the stack 16-byte aligned is OK if that helps.
--
Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the bugs
mailing list