[PATCH] [BZ #16512] Strip @@GLIBC_.* and @@GCC_.* from symbol names

Roland McGrath roland@hack.frob.com
Wed Jan 29 22:09:00 GMT 2014


> On Wed, Jan 29, 2014 at 1:23 PM, Roland McGrath <roland@hack.frob.com> wrote:
> >> "readelf -r" may dislay symbol version in dynamic relocation:
> >
> > When does it and when doesn't it?
> 
> If you use binutils with the fix for
> 
> https://www.sourceware.org/bugzilla/show_bug.cgi?id=16496
> 
> like Linux binutils 2.24.51.0.3, you will get symbol version
> in dynamic relocation.

I see.  So the answer is that it doesn't ever do it, and you've proposed
making it always do it, but that has not been approved by binutils
maintainers.  (Breaking existing scripts this way might be a good reason
the change gets rejected.)

> > Perhaps it would be better to have the exact symbol version be part
> > of each reference list.  But perhaps it would be worse.  I have not
> > given it a lot of thought.
> 
> It won't work with the binuitls which doesn't have the PR 16496
> fix.

There are multiple ways to get the information.  That will not be a barrier.
We just have to decide whether we think it's the right thing to do or not.


Thanks,
Roland



More information about the Libc-alpha mailing list