ignoring certain undefined symbols
Paul Koning
Paul_Koning@Dell.com
Tue Apr 20 13:53:00 GMT 2010
Make it "weak".
paul
> -----Original Message-----
> From: binutils-owner@sourceware.org [mailto:binutils-
> owner@sourceware.org] On Behalf Of Simon Richter
> Sent: Tuesday, April 20, 2010 9:43 AM
> To: binutils@sourceware.org
> Subject: ignoring certain undefined symbols
>
> Hi,
>
> I'm building a project where a library can use one of multiple
> implementations of a function; which it is is determined by the
program
> loading the library, so I'm building a shared library with an
undefined
> symbol. Obviously, this fails with my usual "-z defs" approach to find
> functions that are really missing.
>
> Is there a way to declare that it is okay if a certain symbol is
> undefined, while still getting errors about other undefined symbols?
>
> Simon
More information about the Binutils
mailing list