This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Your patch on 2001-01-26 is bad
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: Your patch on 2001-01-26 is bad
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 06 Feb 2001 22:02:00 -0800
- Cc: "H . J . Lu" <hjl at valinux dot com>, binutils at sourceware dot cygnus dot com
- References: <20010206203822.A10129@valinux.com><20010206212624.A23675@redhat.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Richard Henderson <rth@redhat.com> writes:
> STV_PROTECTED: Resolved locally, but included in the
> dynamic symbol table.
>
> That we _know_ this will be resolved locally implies that
> we can optimize things at link time. Why bother leaving
> this for the loader?
Because you want to have ld.so being involved, maybe even in every use
of the symbol? Just imagine the ld.so profiling or similar
techniques. If you want to resolve it completely locally use a linker
map file to declare it.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------