diff options
author | Alan Modra <alan@linuxcare.com.au> | 2001-04-03 06:57:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2001-04-03 16:27:31 +0930 |
commit | 1c7a8112c5034b11c438eafd12c5398395881f06 (patch) | |
tree | b9bf6476fa74b761c8ff665141a55ff446041799 /gcc/alias.c | |
parent | fe01b88e5acac29092b892743a5f2a3ae30dd594 (diff) | |
download | gcc-1c7a8112c5034b11c438eafd12c5398395881f06.zip gcc-1c7a8112c5034b11c438eafd12c5398395881f06.tar.gz gcc-1c7a8112c5034b11c438eafd12c5398395881f06.tar.bz2 |
Rewrite hppa profiling support.
* config/pa/pa.c (override_options): Remove PIC profiling warning.
(hp_profile_labelno): Delete.
(hp_profile_label_rtx): Delete.
(hp_profile_label_name): Delete.
(pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
(output_function_prologue): Remove profiling code and all tests on
profile_flag. Move store of PIC_OFFSET_TABLE_REGNUM now that
merge_sp_adjust_with_store can work for PIC and profiling.
(hppa_expand_epilogue): Remove profile_flag test.
(hppa_can_use_return_insn_p): Likewise.
(hppa_init_pic_save): Emit before tail_recursion_reentry, and
cater for PROFILE_HOOK.
(hppa_profile_hook): New function.
* config/pa/pa.h (FUNCTION_PROFILER): Now does nothing.
(PROFILE_HOOK): Define.
(hppa_profile_hook): Declare.
(PROFILE_BEFORE_PROLOGUE): Delete.
(ASM_OUTPUT_REG_PUSH): Delete.
(ASM_OUTPUT_REG_POP): Delete.
* config/pa/pa.md (call_profiler): Turn it into a call insn, and
don't `use' r24. Accept function name operand, and use this and a
locally generated label to calculate pc-rel offset to func start.
From-SVN: r41038
Diffstat (limited to 'gcc/alias.c')
0 files changed, 0 insertions, 0 deletions