From owner-freebsd-arch@FreeBSD.ORG Tue Apr 5 22:49:32 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 903841065672; Tue, 5 Apr 2011 22:49:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4DE8FC20; Tue, 5 Apr 2011 22:49:31 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p35MnDAo098014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 01:49:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p35MnD1W083367; Wed, 6 Apr 2011 01:49:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p35MnD9L083366; Wed, 6 Apr 2011 01:49:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Apr 2011 01:49:13 +0300 From: Kostik Belousov To: d@delphij.net Message-ID: <20110405224913.GF78089@deviant.kiev.zoral.com.ua> References: <4D9B935D.4010705@delphij.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBycx+zjj0qtx+9x" Content-Disposition: inline In-Reply-To: <4D9B935D.4010705@delphij.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: 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: Tue, 05 Apr 2011 22:49:32 -0000 --DBycx+zjj0qtx+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2011 at 03:10:37PM -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > Hi, >=20 > 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 > 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. --DBycx+zjj0qtx+9x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk2bnGgACgkQC3+MBN1Mb4j+5wCg7z2hu6nZfFLcaLezwJrIogdI 1EkAoJl7zTrKXEKpVcG6uwe1sxuUmPxx =Byes -----END PGP SIGNATURE----- --DBycx+zjj0qtx+9x--