Hi,

I'm interested in implement a Pascal JIT linker so I implement a COFF 64bit 
linker and link object files generated by FPC trunk then link them with DLL 
dependencies like "kernel32.dll" and "user32.dll".

Project source code is available at https://github.com/tihorygit/TheLinker.


Now I have a problem with linking FPC compiler functions like 
"fpc_initializeunits". After files linked together, some of these functions 
point to an invalid location in object memory and cause an access violation 
exception.

I read Pascal TInternalLinker code but didn't find any solution, is anyone 
experience with linkers to help me or have a solution?

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to