On 22 Dec 2011, at 15:12, Sven Barth wrote:
Hmm... I have thought a bit. Do you (or someone else) think it's feasible (and useful) to add a "procedure modifier" that allows you to specify the stack alignment that should be used when calling that procedure? (of course this modifier should be considered as "from great power comes great responsibilty" ^^)
I think that the i386/Linux compiler and RTL should be modified to guarantee 16 byte alignment at all times, since that's how they apparently redefined their ABI. The generated code will also be backwards compatible.
Jonas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel