From owner-freebsd-alpha Sun Dec 23 2:51:29 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 08AE037B405 for ; Sun, 23 Dec 2001 02:51:27 -0800 (PST) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 16I6E1-000KGS-0K; Sun, 23 Dec 2001 10:51:25 +0000 Received: from salmon.nlsystems.com (salmon [10.0.0.3]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id fBNAoA923817; Sun, 23 Dec 2001 10:50:10 GMT (envelope-from dfr@nlsystems.com) Date: Sun, 23 Dec 2001 10:49:37 +0000 (GMT) From: Doug Rabson To: Daniel Eischen Cc: Bernd Walter , Dan Eischen , Andrew Gallatin , Subject: Re: Munging jmp_bufs on alpha In-Reply-To: Message-ID: <20011223104757.B457-100000@salmon.nlsystems.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 21 Dec 2001, Daniel Eischen wrote: > What is T12 suppose to contain in a normal function call? Is > it always the return address? Is that dependent on our compiler? T12 should be set to the address of the called function. Prologue code in the called function uses this assumption to initialise GP to the correct value for the module containing it. RA will be set to the return address by the call instruction itself. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message