This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Difference between stack pointer and frame address duringcodegeneration
On Wed, 2005-03-02 at 10:03 -0500, Vladimir Makarov wrote:
> Øyvind Harboe wrote:
>
> >Is there an existing technique to figure out the difference between
> >the frame address and the stack pointer during code generation of
> >arbitary instructions?
> >
> >
> You can get the current offset through INITIAL_ELIMINATION_OFFSET.
Does something along the lines of a "FINAL_ELIMINATION_OFFSET()" exist,
that can be called from code-generation in the back-end?
--
Øyvind Harboe
http://www.zylin.com