freebsd-dev/contrib/gcc/config/alpha
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
..
alpha32.h
alpha-interix.h
alpha.c Merge gcc.2.95.3-test1 changes onto mainline 2001-01-03 17:17:01 +00:00
alpha.h
alpha.md
crtbegin.asm Re-initialize gp after a jsr. 2001-08-17 22:54:26 +00:00
crtend.asm
elf.h Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge 2001-03-19 19:50:16 +00:00
freebsd.h MFC: gcc.295/config/alpha/freebsd.h revision 1.12: 2002-01-31 17:20:44 +00:00
lib1funcs.asm
linux-ecoff.h
linux-elf.h Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1 2001-01-03 17:16:04 +00:00
linux.h
netbsd-elf.h
netbsd.h
openbsd.h
osf2or3.h
osf12.h
osf.h
t-crtbe
t-ieee
t-interix
t-vms
va_list.h
vms-tramp.asm
vms.h
vxworks.h
x-alpha
xm-alpha-interix.h
xm-alpha.h
xm-freebsd.h
xm-openbsd.h
xm-vms.h