Specify how undefined weak symbol should be resolved in executable

Alan Modra amodra@gmail.com
Fri Jan 1 00:00:00 GMT 2016


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



More information about the Gnu-gabi mailing list