Commit aa4201ad by Gary Thomas Committed by Jeff Law

8

        * rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

From-SVN: r21638
parent 93e42b0f
...@@ -3787,7 +3787,7 @@ rs6000_allocate_stack_space (file, size, copy_r12) ...@@ -3787,7 +3787,7 @@ rs6000_allocate_stack_space (file, size, copy_r12)
{ {
fprintf (file, "\tmr %s,%s\n", reg_names[12], reg_names[1]); fprintf (file, "\tmr %s,%s\n", reg_names[12], reg_names[1]);
if (size < 32767) if (size < 32767)
fprintf (file, "\t{cal|la} %s,%d(%s)\n", asm_fprintf (file, "\t{cal|la} %s,%d(%s)\n",
reg_names[1], neg_size, reg_names[1]); reg_names[1], neg_size, reg_names[1]);
else else
{ {
......
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