Oops, here is patch.
Dave
--
John David Anglin dave.ang...@bell.net
2016-07-16 John David Anglin
* config/pa/pa.c (hppa_profile_hook): Allocate stack space for
register parameters. Remove code to initialize argument pointer
on TARGET_64BIT. Optimize call to _m
The attached patch implements a suggestion from Helge Deller to optimize
profile support.
When _mcount is reachable using a pc-relative branch, we can use the delay slot
of the branch
to compute the selfpc argument of _mcount.
In working on this change, I noticed a couple of problems with the cu