This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: nightmares with biased stack pointers
- To: amylaar at cygnus dot co dot uk
- Subject: Re: nightmares with biased stack pointers
- From: "David S. Miller" <davem at jenolan dot rutgers dot edu>
- Date: Tue, 16 Sep 1997 09:05:39 -0400
- CC: meissner at cygnus dot com, amylaar at cygnus dot co dot uk, law at cygnus dot com, egcs at cygnus dot com
From: Joern Rennecke <amylaar@cygnus.co.uk>
Date: Tue, 16 Sep 1997 14:00:48 +0100 (BST)
> Or do the elimination macros handle all of this transparently (or
> can be made to do so)?
No, you have to define GO_IF_LEGITIMATE_ADDRESS to handle this
correctly. If you have LEGITIMIZE_ADDRESS, that macro might need
adjustments too.
Oh I see, so you teach those macros to check if a stack relative
offset is "in range" and if not, tell the caller to generate a reload,
right?
Later,
David "Sparc" Miller
davem@caip.rutgers.edu