ordinal linking for cygwin ld

Robert Collins robert.collins@itdomain.com.au
Sat Apr 27 11:43:00 GMT 2002



> -----Original Message-----
> From: Ralf Habacker [mailto:Ralf.Habacker@freenet.de] 
> Sent: Sunday, April 28, 2002 4:28 AM
> > 
> > Hangon, lets go back a bit. Why do you want ordinal-only 
> linking? For 
> > runtime or link-time performance? Or for on-disk import 
> library size? 
> > Or....
> runtime performance 

Ok, well then check this :
http://msdn.microsoft.com/msdnmag/issues/0500/hood/hood0500.asp article
out.

Linking by ordinal only gives a 2%-4% improvement. rebinding and
rebasing gives up to 18%.

So linking by ordinal only will help you a little. rebinding and
rebasing your .dll's will help much much more.

And infact, rebasing and rebinding makes the INT obsolete - because the
IAT is precalculated, so you can't get 22% by linking by ordinal and
rebinding and rebasing.

Rob



More information about the Binutils mailing list