Re: [committed] Use branch with link register for jump from thunk

2014-08-11 Thread John David Anglin
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.ang...@bell.net

[committed] Use branch with link register for jump from thunk

2014-08-11 Thread John David Anglin
With a large function, the 'b' branch may not be able to reach its target without a long branch stub. Gas doesn't provide a long branch stub for a branch without a link register (i.e., it considers branches with link registers calls). This patch changes pa_asm_output_mi_thunk() to use a bl br