Commit 819f43e6 by Richard Kenner

(output_epilog): Fix minor error in instructions used to restore stack

pointer.

From-SVN: r4415
parent 5c828fb7
...@@ -1398,10 +1398,10 @@ output_epilog (file, size) ...@@ -1398,10 +1398,10 @@ output_epilog (file, size)
fprintf (file, "\tldq $15,%d($30)\n", fp_offset); fprintf (file, "\tldq $15,%d($30)\n", fp_offset);
/* Now update the stack pointer, if needed. This must be done in /* Now update the stack pointer, if needed. This must be done in
one, styalized, instruction. */ one, stylized, instruction. */
if (frame_size > 32768) if (frame_size > 32768)
fprintf (file, "\taddq $28,$30,$30\n"); fprintf (file, "\taddq $28,$30,$30\n");
else else if (frame_size != 0)
fprintf (file, "\tlda $30,%d($30)\n", frame_size); fprintf (file, "\tlda $30,%d($30)\n", frame_size);
/* Finally return to the caller. */ /* Finally return to the caller. */
......
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