This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: ignoring certain undefined symbols
- From: "Paul Koning" <Paul_Koning at Dell dot com>
- To: "Simon Richter" <Simon dot Richter at hogyros dot de>, <binutils at sourceware dot org>
- Date: Tue, 20 Apr 2010 09:53:48 -0400
- Subject: RE: ignoring certain undefined symbols
- References: <20100420134252.GB1806@honey.hogyros.de>
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