Jonas Maebe wrote:

Is there a document somewhere that specifies how exactly cdecl varargs
is implemented on the different platforms?

There is one such document per ABI. These individual ABI documents are located 
all over the web. E.g. the official x86-64 ABI can be found at 
http://www.x86-64.org/documentation/abi.pdf, while the one for Win64 can be 
found at http://msdn.microsoft.com/en-us/library/ms235286.aspx

I started trying to make a list of resources at http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources but it's still largely just placeholders.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to