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

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



On Tue, Feb 23, 2016 at 09:10:51AM -0800, H.J. Lu wrote:
> At run-time, there is no difference between weak defined and non-weak
> defined symbols.

This is not true, and even if it was..

>  If we change defined weak symbol behavior, we also
> need to change defined non-weak symbol behavior.

..it does not follow that run-time loader treatment of weak vs. strong
symbols should determine linker behaviour regarding the same.

-- 
Alan Modra
Australia Development Lab, IBM