Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-12

default calling convention change for i386

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Vreman

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

Reply by email