This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem in locate_and_pad_parm
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Problem in locate_and_pad_parm
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Thu, 19 Oct 2000 03:15:27 +0100 (BST)
- Cc: gcc at gcc dot gnu dot org
> MUST_PASS_IN_STACK is a macro that's meant to represent those cases
> where GCC does not know to pass parameters in registers. It should *never*
> be overriden. Instead, the underlying macros should be changed in
> the ports in question.
You can not just change the endianness of the chip to make it conform to
a gcc design decision that was made some ten years ago.
And the knowledge how to pass the parameters in registers is in the tm.h
FUNCTION_ARG, FUNCTION_ARG_ADVANCE etc.
> This is now defined in *a lot* ports. Each needs to be fixed.
The ports are fine, thank you. By overriding MUST_PASS_IN_STACK they
can finally provide a working ABI.