This is the mail archive of the binutils@sources.redhat.com 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]

Re: Your patch on 2001-01-26 is bad


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   `------------------------

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