David E. O'Brien 13696e0464 MFC: gcc.295/config/alpha/freebsd.h revision 1.12:
Remove our definition for FUNCTION_PROFILER as it is wrong.

Note that "jsr $28,_mcount" is a macro for
	ldq $27, _mcount($29)           !literal!1
	jsr $28, ($27), _mcount         !lituse_jsr!1

1. The call to _mcount is added by alpha_expand_prologue after we load the gp.
Our _mcount uses $27 for the incoming address, unlike OSF/1 and Linux,
which use $28.  This probably doesn't matter since we probably don't use $27
within _mcount itself.
2. You can't use this insn with _mcount because it uses the PLT, which clobbers
the return address in $28.  Note that the prologue_mcount pattern carefully
avoids adding the lituse_jsr relocation so that we call through the GOT
directly.

Submitted by:	Richard Henderson <rth@redhat.com>
2002-01-31 17:20:44 +00:00
..
2001-10-01 08:43:58 +00:00
2001-03-21 21:17:54 +00:00
2002-01-18 15:28:32 +00:00
2002-01-14 09:19:18 +00:00
2002-01-07 20:37:09 +00:00
2001-04-03 04:32:48 +00:00
2001-08-29 15:15:59 +00:00
2001-04-18 15:54:10 +00:00
2001-08-21 01:33:05 +00:00
2002-01-24 17:58:42 +00:00