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


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


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