This is the mail archive of the
mailing list for the binutils project.
Re: ignoring certain undefined symbols
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.