pa.c (hppa_profile_hook): Split gen_call_profiler into separate insns.
authorRandolph Chung <tausq@debian.org>
Thu, 27 Nov 2003 20:02:36 +0000 (20:02 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 27 Nov 2003 20:02:36 +0000 (20:02 +0000)
commita3d4c92f8a6d06118358fda1fe17f948acb94d21
tree93ddbd68227c51d5bf24d37999410b4265bbbce1
parenta27b9e3c6f8fb3017f4b12904abcbbb51c1f4644
pa.c (hppa_profile_hook): Split gen_call_profiler into separate insns.

* pa.c (hppa_profile_hook): Split gen_call_profiler into separate
insns.  Use the regular call expander for the call to the profiler.
* pa.md (call_profiler): Delete.
(load_offset_label_address): New insn to load the address of the
current function for the profiler.
(lcla1, lcla2): New insns to output a code label and load its address.

Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r74004
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.md