Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 18:39:13 +0200 (EET)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        freebsd-ppc@FreeBSD.ORG
Subject:   Re: the abi
Message-ID:  <Pine.BSF.3.96.1000727170610.98205F-100000@haldjas.folklore.ee>
In-Reply-To: <20000727025340.A45272@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000727170610.98205F-100000>