Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 10:36:39 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   FreeBSD ABI?
Message-ID:  <4D62B0B7.1060604@rawbw.com>

next in thread | raw e-mail | index | archive | help
Where is it documented?
Are there differences with the linux ABI?

Particularly I am interested in stack alignment requirement. For example 
i386 Solaris, Linux and MacOS have 16 bit stack alignment for procedure 
calls. This is reflected in LLVM sources:

   if (isTargetDarwin() || isTargetLinux() || isTargetSolaris() || Is64Bit)
     stackAlignment = 16;


But FreeBSD is excluded there. Is this a bug in LLVM which magically 
doesn't cause crashes or this is correct and FreeBSD doesn't have 16 bit 
alignment?

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D62B0B7.1060604>