From owner-freebsd-arch@FreeBSD.ORG Wed Apr 6 11:38:12 2011 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25DDB106566C for ; Wed, 6 Apr 2011 11:38:12 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3A88FC1A for ; Wed, 6 Apr 2011 11:38:11 +0000 (UTC) Received: from c122-106-155-58.carlnfd1.nsw.optusnet.com.au (c122-106-155-58.carlnfd1.nsw.optusnet.com.au [122.106.155.58]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p36Bbm1D014971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 21:37:49 +1000 Date: Wed, 6 Apr 2011 21:37:48 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kostik Belousov In-Reply-To: <20110405224913.GF78089@deviant.kiev.zoral.com.ua> Message-ID: <20110406212659.W1522@besplex.bde.org> References: <4D9B935D.4010705@delphij.net> <20110405224913.GF78089@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: d@delphij.net, freebsd-amd64@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: Where to find amd64 ABI information for FreeBSD? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 11:38:12 -0000 On Wed, 6 Apr 2011, Kostik Belousov wrote: > On Tue, Apr 05, 2011 at 03:10:37PM -0700, Xin LI wrote: >> Is there a place to find ABI information for GCC on FreeBSD? >> Specifically, I'm looking for which registers has to be preserved >> across function call? (Or do we follow System V Application Binary I've always looked at the source code (mainly i386.h and i386.md). I don't know of any better way for i386. >> Interface AMD64 Architecture Processor Supplement Draft Version 0.99.5?) > > The parts of the mentioned document that depend on compiler and > toolchain, are fully valid for FreeBSD. Our non-compliance is mostly > in the specified bits of the kernel/usermode interface. Is it still a de-facto standard only at 0.99.x? I only have 0.95 from 2005. I guess little has changed. Bruce