This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: How to make gcc psABI conformant
On Tue, Oct 09, 2007 at 08:44:52PM -0700, H.J. Lu wrote:
> There are STACK_BOUNDARY and PREFERRED_STACK_BOUNDARY. But they
> don't provide psABI conformance. A psABI specifies a minimum
> alignment for incoming stack. Unless a function is local to
> translation unit, we can only assume the minimum alignment for
> incoming stack. I think we need a new macro, INCOMING_STACK_BOUNDARY.
> which can be PREFERRED_STACK_BOUNDARY only if all callers of the
> function is local to translation unit.
Isn't that STACK_BOUNDARY? If not, since you seem to understand the
difference between these variables, could you improve the
documentation?
I'd like to reuse whatever solution you find for this for
powerpc-linux -maltivec.
--
Daniel Jacobowitz
CodeSourcery