ordinal linking for cygwin ld

Robert Collins robert.collins@itdomain.com.au
Sun Apr 28 05:26:00 GMT 2002



> -----Original Message-----
> From: Ralf Habacker [mailto:Ralf.Habacker@freenet.de] 
> Sent: Sunday, April 28, 2002 10:18 PM

> Firstthunk points to 0x401064, the symbol <__fu0__var0000>, 
> which is the address part of the mov instruction. After run 
> time linking the loader has relocated this address to the 
> propper value.

Ok, I see what it does. Doesn't it have to do that for each reference to
the auto-imported variable? If so, then heavy use of an imported
variable could make the INT and IAT quite large - and lots of fixups
needed. However, binding could still work, as we effectively have a
pointer to each address reference in the binary.

Rob



More information about the Cygwin-apps mailing list