Re: Possible bug in gas/ld when using .linkonce

2005-03-11 Thread Pavel Tsekov
On Fri, 11 Mar 2005, Danny Smith wrote: > I don't think your usage of .linkonce in your example is quite corect. > > In PECOFF, each linkonce symbol needs to have its own unique section. When > you > try to put more than one linkonce symbol into a section you get problems like > those mentioned

Re: Possible bug in gas/ld when using .linkonce

2005-03-10 Thread Danny Smith
Pavel Tsekov wrote: > Hello, > > I found this one while playing with Cygwin's code which takes care of > seamless loading of dll functions (autoload.cc). It seems that when a > symbol in a section marked .linkonce is referenced, wrong relocation info > is generated for that symbol. > > For example

Possible bug in gas/ld when using .linkonce

2005-03-10 Thread Pavel Tsekov
Hello, I found this one while playing with Cygwin's code which takes care of seamless loading of dll functions (autoload.cc). It seems that when a symbol in a section marked .linkonce is referenced, wrong relocation info is generated for that symbol. For example if you have several symbols - symb