sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.

2002-06-14  Jeff Sturm  <jsturm@one-point.com>

	* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
	SPARC_STACK_BIAS.

From-SVN: r54646
This commit is contained in:
Jeff Sturm 2002-06-15 14:14:50 +00:00 committed by David S. Miller
parent 106148b135
commit d85ed0e858
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-14 Jeff Sturm <jsturm@one-point.com>
* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
SPARC_STACK_BIAS.
2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
* loop.c (check_final_value): Use v->always_executed

View File

@ -1958,7 +1958,8 @@ do { \
return an rtx for the address of the word in the frame
that holds the dynamic chain--the previous frame's address.
??? -mflat support? */
#define DYNAMIC_CHAIN_ADDRESS(frame) plus_constant (frame, 14 * UNITS_PER_WORD)
#define DYNAMIC_CHAIN_ADDRESS(frame) \
plus_constant (frame, 14 * UNITS_PER_WORD + SPARC_STACK_BIAS)
/* The return address isn't on the stack, it is in a register, so we can't
access it from the current frame pointer. We can access it from the