This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld: how to force symbol resolution in shlibs on Linux
- From: Daniel Jacobowitz <drow at false dot org>
- To: skaller <skaller at users dot sourceforge dot net>
- Cc: binutils at sourceware dot org
- Date: Sat, 4 Mar 2006 20:42:32 -0500
- Subject: Re: ld: how to force symbol resolution in shlibs on Linux
- References: <1141527992.6258.129.camel@budgie.wigram>
On Sun, Mar 05, 2006 at 02:06:32PM +1100, skaller wrote:
> Hi, I have a problem trying to figure out if it even possible to force
> linkage against shared libraries to resolve all 'user' symbols on Linux.
>
> The option --[no-]allow-shlib-undefined controls this but seems useless
> because it forces resolution of gcc compiler internal symbols related
> to the GOT etc which must remain unresolved until runtime linkage.
Sorry, you're using phrases that don't accurately describe anything.
You'll get a better response if you provide an example of what you're
doing, what you want to happen, and what is happening instead.
-z defs may be what you want.
--
Daniel Jacobowitz
CodeSourcery