This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ordinal linking for cygwin ld


Robert Collins wrote:

> 
> The PE spec (as I read it) indicates that as long as a name is included
> (ie it's not link-only-by-ordinal) then ordinals can change and nothing
> will break.
> 
> It's only when the only link information is the ordinal that problems
> will appear.


That's what I thought, too, until I got bit.  Check the cygwin(-apps?) 
ml archives during spring/summer 2000.  At the time, the symptoms seemed 
like a smoking gun: link by ordinal == link ONLY by ordinal.  OTOH, 
binutils on cygwin was royally broken at the time, DJ was transitioning 
away from cygwin, Mumit had been gone for half a year or more, and bit 
rot was setting in.

Perhaps the problems that burned me then were due to broken 
binutils/maintainerless cygwin-gcc, and it wasn't the smoking gun I 
thought it was.

OTOH, if you've linked by ordinal, and then you strip symbols -- are the 
names of the imports still retained?

--Chuck



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]