From owner-freebsd-ppc Thu Jul 27 9:39:22 2000 Delivered-To: freebsd-ppc@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id 35EB637BB9A; Thu, 27 Jul 2000 09:39:16 -0700 (PDT) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id SAA03583; Thu, 27 Jul 2000 18:39:13 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Thu, 27 Jul 2000 18:39:13 +0200 (EET) From: Narvi To: "David O'Brien" Cc: freebsd-ppc@FreeBSD.ORG Subject: Re: the abi In-Reply-To: <20000727025340.A45272@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 27 Jul 2000, David O'Brien wrote: > > For FreeBSD/ppc, I vote for whatever Linux/ppc uses (SVR4, I believe). > > I will only support (ie. as toolchain maintainer) a PPC ABI that is as > close to what we do on the i386 and Alpha as possible. > I'm not entirely sure what we do on alpha. http://www.esofta.com/pdfs/SVR4abippc.pdf is one of the many on-web copies of the svr4 abi spec (all i have seen similarily have pages in reverse order). eabi is slightly different from that (mandates only 8 byte alignment of stack, different number of callee/caller save registers (iirc) etc). PowerOpen, AIX, etc. abis differ in the details. The worst (imho) "feature" in the case of the ppc abi-s is the TOC. Neither am i a particular fan of the 'small data area'. > > Not only is this going to provide the most solid (and relevant to our > > needs) toolchain, but it makes Linux ABI emulation in the kernel a little > > easier. > > The ABI we use does not have to match the Linux/ppc one to do Linux > emulation. > > -- > -- David (obrien@FreeBSD.org) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message