Message ID | BLU436-SMTP230D13A3861CD380090901297ED0@phx.gbl |
---|---|
State | New |
Headers | show |
On 11-Aug-14, at 3:24 PM, John David Anglin wrote: > Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64- > hp-hpux11.11 with no observed regressions. > Committed to trunk, 4.9 and 4.8. There is a problem... Patch reverted. Dave -- John David Anglin dave.anglin@bell.net
Index: config/pa/pa.c =================================================================== --- config/pa/pa.c (revision 213683) +++ config/pa/pa.c (working copy) @@ -8285,7 +8287,9 @@ 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) {