From owner-cvs-all Thu Jan 24 7:38:14 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1A1FF37B416; Thu, 24 Jan 2002 07:38:06 -0800 (PST) Received: (from obrien@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0OFc6J66834; Thu, 24 Jan 2002 07:38:06 -0800 (PST) (envelope-from obrien) Message-Id: <200201241538.g0OFc6J66834@freefall.freebsd.org> From: "David E. O'Brien" Date: Thu, 24 Jan 2002 07:38:06 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gcc/config/alpha freebsd.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG obrien 2002/01/24 07:38:06 PST Modified files: contrib/gcc/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 Revision Changes Path 1.12 +0 -8 src/contrib/gcc/config/alpha/freebsd.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message