This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ignoring certain undefined symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]