From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 21 23:16:55 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0ABA106566C for ; Mon, 21 Feb 2011 23:16:55 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id AA6DE8FC17 for ; Mon, 21 Feb 2011 23:16:55 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p1LNE4Om048302; Mon, 21 Feb 2011 15:14:04 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4D62F267.3000706@rawbw.com> Date: Mon, 21 Feb 2011 15:16:55 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101211 Thunderbird/3.0.11 MIME-Version: 1.0 To: bf1783@gmail.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Roman Divacky , "b. f." Subject: Re: FreeBSD ABI? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 23:16:55 -0000 On 02/21/2011 14:47, b. f. wrote: > Isn't it supposed to [1] conform to: > > http://www.sco.com/developers/devspecs/abi386-4.pdf > http://www.x86-64.org/documentation/abi.pdf > > ? > > [1] See, for example: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2011-January/034045.html > http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/csu/i386-elf/crt1_s.S > http://lists.freebsd.org/pipermail/svn-src-head/2010-December/023065.html > Solaris-i386 ABI is also supposed to conform to abi386-4.pdf. In section 3-10 it says: "The stack is word aligned. Although the architecture does not require any alignment of the stack, software convention and the operating system requires that the stack be aligned on a word boundary." But I know for the fact that Solaris-i386 uses 16 byte alignment. At least that's what gcc-4.5.2 thinks when on Solaris. Still not sure about FreeBSD-i386. Yuri