Commit da3c3336 by Jeff Law

pa.c (output_function_prologue): Emit SAVE_SP flag if a frame pointer is needed.

	* pa.c (output_function_prologue): Emit SAVE_SP flag if a frame
	pointer is needed.

From-SVN: r4804
parent b38061e8
......@@ -1946,10 +1946,14 @@ output_function_prologue (file, size)
of a function. */
fprintf (file, "\t.PROC\n\t.CALLINFO FRAME=%d", actual_fsize);
if (regs_ever_live[2] || profile_flag)
fprintf (file, ",CALLS,SAVE_RP\n");
fprintf (file, ",CALLS,SAVE_RP");
else
fprintf (file, ",NO_CALLS\n");
fprintf (file, "\t.ENTRY\n");
fprintf (file, ",NO_CALLS");
if (frame_pointer_needed)
fprintf (file, ",SAVE_SP");
fprintf (file, "\n\t.ENTRY\n");
/* Horrid hack. emit_function_prologue will modify this RTL in
place to get the expected results. */
......
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