I need to import the relocation information from Win32 PE files generated by MASM
The question is how to get sure that such relocations exist in the PE executable?
Are there any compile or link flags for this?
Same goes for other assemblers as well ;)
To include 'base relocations' you can use the link option /FIXED:NO. Default, I think, is /FIXED for EXE files and /FIXED:NO for DLL files (since the load address can easily change).
Pelle
Thank you very much...
And BTW I do appreciate your IDE ;)
Thanks!
Pelle
Hi Bogdan,
I know that you are a Tasm user. If you would like to use the OMF linker from Digital Mars creating smaller executables compared to tlink32 there is a similar switch to force relocations.
Thank you.