PR target/62038
* config/pa/pa.c (pa_asm_output_mi_thunk): Use a branch with %r31 link
register.
From-SVN: r213829
+2014-08-11 John Dave Anglin <danglin@gcc.gnu.org>
+
+ PR target/62038
+ * config/pa/pa.c (pa_asm_output_mi_thunk): Use a branch with %r31 link
+ register.
+
2014-08-11 Mircea Namolaru <mircea.namolaru@inria.fr>
Replacement of isl_int by isl_val
if (!val_14)
output_asm_insn ("addil L'%2,%%r26", xoperands);
- output_asm_insn ("b %0", xoperands);
+ /* An absolute branch without a link register is not considered
+ a call by GAS. We need a call to get a stub if necessary. */
+ output_asm_insn ("bl %0,%%r31", xoperands);
if (val_14)
{