Commit d9e4e4f5 by Stan Shebs Committed by Stan Shebs

rs6000.c (machopic_output_stub): Issue ldu instead of lwzu if 64-bit -mdynamic-no-pic.

        * config/rs6000/rs6000.c (machopic_output_stub): Issue
        ldu instead of lwzu if 64-bit -mdynamic-no-pic.

From-SVN: r93198
parent 198f8870
2005-01-11 Stan Shebs <shebs@apple.com>
* config/rs6000/rs6000.c (machopic_output_stub): Issue
ldu instead of lwzu if 64-bit -mdynamic-no-pic.
2005-01-11 Andrew Pinski <pinskia@physics.uc.edu>
PR target/18761
......
......@@ -17610,7 +17610,9 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub)
fprintf (file, "\t.indirect_symbol %s\n", symbol_name);
fprintf (file, "\tlis r11,ha16(%s)\n", lazy_ptr_name);
fprintf (file, "\tlwzu r12,lo16(%s)(r11)\n", lazy_ptr_name);
fprintf (file, "\t%s r12,lo16(%s)(r11)\n",
(TARGET_64BIT ? "ldu" : "lwzu"),
lazy_ptr_name);
fprintf (file, "\tmtctr r12\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