[fpc-devel] Stack alignment on i386

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 20 23:51:28 CET 2011

On 20 Dec 2011, at 23:35, Den Jean wrote:

> On Sunday 18 December 2011 14:05:00 Jonas Maebe wrote:
>> since Darwin/i386 also requires a 16-byte aligned stack
> Does this mean I can drop these stack alignment options for Osx 32 and 64 bit?

Yes. Any program that does not have a 16 byte alliged stack on Mac OS X/i386 will crash almost immediately, because the dynamic linker enforces it. You also don't need it on any x86-64 platform, because they all have always required a 16 byte aligned stack.


More information about the fpc-devel mailing list