[dmd-beta] dmd 1.063 and 2.048 beta

Fawzi Mohamed fawzi at gmx.ch
Mon Aug 9 07:41:55 PDT 2010


On 9-ago-10, at 16:29, Fawzi Mohamed wrote:

> [...]
> Yes osx needs position independent code, I have tried to replace  
> D_PIC with IS_PIC and add

from experimenting with gdc and the atomic module I remember that I  
had to completly free up ebx, as it holds the Position-independent  
code base register.
Even pushing & popping it would not satisfy the gdc compiler (not sure  
why, maybe becuase signal handlers might need it?)

In any case the abi is here

http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html#/ 
/apple_ref/doc/uid/TP40002492-SW4


More information about the dmd-beta mailing list