m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word if the pic register is used.

* config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
	if the pic register is used.

From-SVN: r30071
This commit is contained in:
Andreas Schwab 1999-10-18 16:49:22 +00:00 committed by Andreas Schwab
parent 1b3e142338
commit d3f4f2d6fe
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
if the pic register is used.
Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.

View File

@ -1242,6 +1242,8 @@ while(0)
for (regno = 0; regno < 16; regno++) \
if (regs_ever_live[regno] && ! call_used_regs[regno]) \
offset += 4; \
if (flag_pic && current_function_uses_pic_offset_table) \
offset += 4; \
(DEPTH) = (offset + ((get_frame_size () + 3) & -4) \
+ (get_frame_size () == 0 ? 0 : 4)); \
}