ignoring certain undefined symbols
Simon Richter
Simon.Richter@hogyros.de
Tue Apr 20 21:50:00 GMT 2010
Hi,
On Tue, Apr 20, 2010 at 09:53:48AM -0400, Paul Koning wrote:
> Make it "weak".
Hmm, that will however affect runtime as well, which I'd rather avoid.
Basically, I'd like to have a diagnostic when a symbol is missing while
linking a plugin, but accept those symbols as missing that will be
provided by the program later on. The plugins need to be linked before
the program though, so they are available for -dlpreopen if the user
decides to link statically.
The plugin should still fail to load if dlopen()ed by anything that
doesn't provide the symbol.
Simon
More information about the Binutils
mailing list