Does ld need to search for DT_NEEDED objects?
Thu Nov 9 17:46:00 GMT 2006
> There is an accurate way to get these warnings, which is to run ldd -r
> EXECUTABLE. I suspect that the people who are helped by these
> warnings (i.e., have an executable about which ld would warn but which
> does not fail at runtime) are sophisticated enough to be able to run
> this test.
> I would like to hear from anybody who thinks that it is a good idea to
> do this searching in ld. Thanks.
I actually agree with you - that it is pointless having the linker try
to generate these warnings.
More information about the Binutils