Date: Thu, 24 Jan 2002 07:36:52 -0800 (PST) From: "David E. O'Brien" <obrien@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gcc.295/config/alpha freebsd.h Message-ID: <200201241536.g0OFaqr66582@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 2002/01/24 07:36:52 PST Modified files: contrib/gcc.295/config/alpha freebsd.h Log: 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> Revision Changes Path 1.12 +1 -9 src/contrib/gcc.295/config/alpha/freebsd.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201241536.g0OFaqr66582>