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]
Other format: [Raw text]

Re: PATCH: Add STO_COPY


On Fri, Apr 04, 2003 at 06:52:26PM -0800, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> H. J. Lu wrote:
> 
> > Can you be more specific? Are you saying glibc won't support protected
> > symbols in general or glibc won't support protected symbols with copy
> > relocation. I have no problems to disallow protected symbols which may
> > introduce copy relocation.
> 
> We have some support  for protected symbols and this support isn't
> causing any problems.  It's just slow.  Anything further is unnecessary
> since nobody should really only use it.
> 

Protected symbol is added to gABI for people to use. People are using
it. The current glibc protected symbol lookup implementation is slow.
But it doesn't have to be that way. My latest patch should improve its
performance by quite a bit. Besides, people use protected symbol not
because its lookup speed.

I have a problem for ld to knowingly create DSOs which won't work
right. We should either support protected symbol with copy relocation
or refuse to generate such DSOs.


H.J.


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