This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC/PATCH: ld falsely issues .gnu.warning message for unreferenced dynamic symbols
- From: Grigory Zagorodnev <grigory_zagorodnev at linux dot intel dot com>
- To: Grigory Zagorodnev <grigory_zagorodnev at linux dot intel dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 15 Feb 2007 17:32:10 +0300
- Subject: Re: RFC/PATCH: ld falsely issues .gnu.warning message for unreferenced dynamic symbols
- References: <45D46C3B.2010709@linux.intel.com>
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