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


On Tue, Feb 06, 2001 at 08:38:22PM -0800, H . J . Lu wrote:
> STV_PROTECTED has the global visibility. It is the dynamic
> linker which handles it.

I don't believe you.  If correct, this visibility level
is completely pointless.

As I understand things:

  STV_HIDDEN:	Resolve locally, and not included in the
		dynamic symbol table.

  STV_INTERNAL:	Same.  Technically target dependant, but the
		interpretation I remember being suggested is
		that this is an assertion that the object is
		never seen even indirectly outside the dso.

  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?


r~

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