Linux 64bit Calling Convention

Trass3r via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 25 08:20:52 PDT 2014


Looking at the code extern(D) is in the _revfunc list in optabgen.
Which seems to cause params to be reversed independent of the 
architecture in FuncDeclaration::toObjFile // Reverse params[] 
entries.
Meaning Linux x32 would also be affected.

This totally smells like a remnant as the code matches the 
initial custom Win32 D ABI.


More information about the Digitalmars-d mailing list