FreeBSD ABI?

Yuri yuri at rawbw.com
Mon Feb 21 23:16:55 UTC 2011


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


More information about the freebsd-hackers mailing list