Commit d3f4f2d6 by Andreas Schwab Committed by Andreas Schwab

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
parent 1b3e1423
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> Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT. * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
......
...@@ -1242,6 +1242,8 @@ while(0) ...@@ -1242,6 +1242,8 @@ while(0)
for (regno = 0; regno < 16; regno++) \ for (regno = 0; regno < 16; regno++) \
if (regs_ever_live[regno] && ! call_used_regs[regno]) \ if (regs_ever_live[regno] && ! call_used_regs[regno]) \
offset += 4; \ offset += 4; \
if (flag_pic && current_function_uses_pic_offset_table) \
offset += 4; \
(DEPTH) = (offset + ((get_frame_size () + 3) & -4) \ (DEPTH) = (offset + ((get_frame_size () + 3) & -4) \
+ (get_frame_size () == 0 ? 0 : 4)); \ + (get_frame_size () == 0 ? 0 : 4)); \
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment