This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


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

Re: COFF weak symbols


Mark E. wrote:

> I'm interested have added or in adding an extension to COFF (or at    
> least DJGPP's COFF) to have weak symbols. I've already added the      
> .weak directive to the Oct 1st snapshot, but I wanted to check and    
> see how you wanted me proceed (or even if I should proceed). I'm not  
> an object file expert, but I know just enough to                      

I know of at least one other person that's tried it.  After discussions
with the author of the attached patch, the author of weak support in
OpenServer, and myself, I think this was abandoned.

Whether it was abandoned becuase of funkiness in the interoperability
requirement of OpenServer or just lack of motivation, I really can't
recall.   Since SCO had a free linker that did this, it may have well
been the motivation thing.

The attached patch might serve as a starting place.  It seemed like a
lot of the infrastructure was already present for other object file
formats.

I don't know the copyright status of these patches.

RJL