Date: Mon, 21 Feb 2011 15:16:55 -0800 From: Yuri <yuri@rawbw.com> To: bf1783@gmail.com Cc: freebsd-hackers@freebsd.org, Roman Divacky <rdivacky@freebsd.org>, "b. f." <bf1783@googlemail.com> Subject: Re: FreeBSD ABI? Message-ID: <4D62F267.3000706@rawbw.com> In-Reply-To: <AANLkTi=xLRuiEm_zZNOtnFFUX0_UoqRGq2Fb6ZLS2h%2Bp@mail.gmail.com> References: <AANLkTi=xLRuiEm_zZNOtnFFUX0_UoqRGq2Fb6ZLS2h%2Bp@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D62F267.3000706>