[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specify how undefined weak symbol should be resolved in executable



Hi,

On Wed, 24 Feb 2016, H.J. Lu wrote:

> > Agreed. Anything that brings back weak symbols into the dynamic loader 
> > is going to be highly suspect to me, and require a lot of explaining.
> 
> I was saying as far as ld was concerned, weak defined and non-weak 
> defined dynamic symbols would be treated equally at run-time.  Do you 
> agree with me?

I at least don't.  The difference is that a defined weak symbol (at link 
edit time) might become undefined at runtime.  A defined non-weak symbol 
can't.  So they have to be handled differently.


Ciao,
Michael.