Commit 3d0e2d58 by Stan Shebs Committed by Stan Shebs

rs6000.c (machopic_output_stub): Output ldu instead of lwzu for 64-bit stubs.

        * config/rs6000/rs6000.c (machopic_output_stub): Output
        ldu instead of lwzu for 64-bit stubs.

From-SVN: r90157
parent 9f7d06d6
2004-11-05 Stan Shebs <shebs@apple.com>
* config/rs6000/rs6000.c (machopic_output_stub): Output
ldu instead of lwzu for 64-bit stubs.
2004-11-05 Richard Henderson <rth@redhat.com> 2004-11-05 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_expand_unaligned_load): Special case * config/alpha/alpha.c (alpha_expand_unaligned_load): Special case
......
...@@ -17195,7 +17195,8 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub) ...@@ -17195,7 +17195,8 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub)
fprintf (file, "\taddis r11,r11,ha16(%s-%s)\n", fprintf (file, "\taddis r11,r11,ha16(%s-%s)\n",
lazy_ptr_name, local_label_0); lazy_ptr_name, local_label_0);
fprintf (file, "\tmtlr r0\n"); fprintf (file, "\tmtlr r0\n");
fprintf (file, "\tlwzu r12,lo16(%s-%s)(r11)\n", fprintf (file, "\t%s r12,lo16(%s-%s)(r11)\n",
(TARGET_64BIT ? "ldu" : "lwzu"),
lazy_ptr_name, local_label_0); lazy_ptr_name, local_label_0);
fprintf (file, "\tmtctr r12\n"); fprintf (file, "\tmtctr r12\n");
fprintf (file, "\tbctr\n"); fprintf (file, "\tbctr\n");
......
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