Specify how undefined weak symbol should be resolved in executable
Michael Matz
matz@suse.de
Fri Jan 1 00:00:00 GMT 2016
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.
More information about the Gnu-gabi
mailing list