obrien 6995e4285b Fix our -mprofiler-epilogue code.
"The problem is that egcs/gcc-2.95's reorganisation of the prologue and
epilogue code to use rtl instead of output_asm_insn() completely broke our
hooks.  rtl is emitted in a different order, only after optimisation, while
output_asm_insn() is emitted immediately.  rtl is presumably used so that
the prologue and epilogue can be optimised.

I couldn't find any good examples to copy.  gcc's own
FUNCTION_BLOCK_PROFILER still uses output_asm_insn() and seems to be
completely broken.  One of the XXX comments points to this.

IIRC, the hacks here basically arrange to emit magic label names; then when
the magic names are output, they are transformed into prologue and epilogue
code."

Submitted by:	bde
2000-01-29 13:06:33 +00:00
..
2000-01-16 10:22:31 +00:00
1999-09-08 11:14:51 +00:00
2000-01-10 08:56:01 +00:00
2000-01-29 13:06:33 +00:00
1999-10-10 07:46:38 +00:00
1998-09-15 19:31:43 +00:00
2000-01-28 15:13:45 +00:00
2000-01-10 09:17:46 +00:00
1999-09-05 17:27:05 +00:00
2000-01-26 18:55:58 +00:00
1999-12-20 16:07:53 +00:00