[Issue 9816] Export is mostly broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 29 11:07:43 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9816



--- Comment #13 from Rainer Schuetze <r.sagitario at gmx.de> 2013-08-29 11:07:40 PDT ---
Nice blog post. I have implemented something similar to "auto-import" by adding
some additional relocation data for data accesses. At program start the
addresses that are relocated to the import table are patched.

Unfortunately this does not work for 64-bit applications, because relocations
inside a dmd generated binary are 32-bit pc-relative only. You cannot put the
address to a variable insde another DLL there as it might be anywhere in the
64-bit address space and out of reach for the 32-bit relative address.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list