diff options
author | obrien <obrien@FreeBSD.org> | 2000-01-29 13:06:33 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-01-29 13:06:33 +0000 |
commit | 6995e4285b1fd153901fdf9b718c481cd0fdf44f (patch) | |
tree | 4dd97534706b1dcd1755949dd1a3888abd0d4607 /kerberos5 | |
parent | b7a1b427dece6984516b88a6b55d66047d55df7d (diff) | |
download | FreeBSD-src-6995e4285b1fd153901fdf9b718c481cd0fdf44f.zip FreeBSD-src-6995e4285b1fd153901fdf9b718c481cd0fdf44f.tar.gz |
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
Diffstat (limited to 'kerberos5')
0 files changed, 0 insertions, 0 deletions