RFC/PATCH: ld falsely issues .gnu.warning message for unreferenced dynamic symbols
Grigory Zagorodnev
grigory_zagorodnev@linux.intel.com
Thu Feb 15 14:52:00 GMT 2007
Grigory Zagorodnev wrote:
> Conditions:
> Main executable is linked against two dynamic libraries libcall.so and
> libstub.so. First library (libcall.so) is linked against third dynamic
> library liberal.so. Two of these libraries, libstub and libreal, define
> symbol "func2". Neither executable nor any shared library reference this
> symbol.
Definitely the test-case could be smaller: one executable, linked
against two dynamic libraries those define same symbol, while the first
one supplies the symbol with a warning message in .gnu.warning section.
- Grigory
More information about the Binutils
mailing list