[lazarus] default calling convention change for i386

Peter Vreman peter at freepascal.org
Tue Dec 23 18:25:49 EST 2003


Hi all,

>From today the default calling convention for i386 is changed from stdcall
(the default since 1.9.0) to register calling. This means that you have to
look at how assembler code loads the arguments and maybe store them
yourself in local variables.

The register calling is compatible with delphi, so delphi assembler can
now be used without changes. If there are still incompatibilities with
delphi register calling please report the to the fpc-devel mailinglist
including some same code.

Note that for other processors like powerpc (including the x86_64) we only
support the stdcall (following the standard ABI) calling convention and
all other conventions are ignored.

Peter






More information about the Lazarus mailing list