pa.c (hppa_profile_hook): Allocate stack space for register parameters.
commit730a27a251b1f6f8664cb952c2c2fc24d42a426d
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 16 Jul 2016 15:59:33 +0000 (16 15:59 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 16 Jul 2016 15:59:33 +0000 (16 15:59 +0000)
tree7aa3b83d0344090824f99eab5019a10d7cbd4537
parenta9356b1242b57fc99b2200e6c3d5039c9d4948fe
pa.c (hppa_profile_hook): Allocate stack space for register parameters.

* 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 _mcount when it can be reached
using a pc-relative branch.  Cleanup conditional code.
* config/pa/pa.md (call_mcount): New expander.
(call_mcount_nonpic): New insn.
(call_mcount_pic): New insn and split.
(call_mcount_pic_post_reload): New insn.
(call_mcount_64bit): New insn and split.
(call_mcount_64bit_post_reload): New insn.

From-SVN: r238414
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.md