This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ignoring certain undefined symbols
- From: Simon Richter <Simon dot Richter at hogyros dot de>
- To: binutils at sourceware dot org
- Date: Tue, 20 Apr 2010 15:42:52 +0200
- 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