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
This commit is contained in:
parent
198f8870f2
commit
d9e4e4f5c7
@ -1,3 +1,8 @@
|
||||
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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user