public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* "Base" version in output of objdump
@ 2016-12-08  9:00 Sasha Unknown
  2017-01-04 16:26 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Sasha Unknown @ 2016-12-08  9:00 UTC (permalink / raw)
  To: Binutils

"objdump" dumps unversioned symbols in versioned shared object as having 
version "Base".

Can be ambiguous (e.g. with symbol having version with explicit name 
"Base").

I can write a patch that will cause objdump output unassigned version as 
"*BASE*" (similarly to "*ABS*" and "*UND*" section names); including 
testsuite. Should I? Or would it be too incompatible change?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "Base" version in output of objdump
  2016-12-08  9:00 "Base" version in output of objdump Sasha Unknown
@ 2017-01-04 16:26 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2017-01-04 16:26 UTC (permalink / raw)
  To: Sasha Unknown, Binutils

Hi Sasha,


> "objdump" dumps unversioned symbols in versioned shared object as having version "Base".
> 
> Can be ambiguous (e.g. with symbol having version with explicit name "Base").
> 
> I can write a patch that will cause objdump output unassigned version as "*BASE*" 
> (similarly to "*ABS*" and "*UND*" section names); including testsuite. Should I? 

Yes please do.  But please remember to check the patch by running the ld, binutils and gas
testsuites, looking for regressions.

> Or would it be too incompatible change?

The easiest way around that is to add a command line option to control the choice of name.

Cheers
  Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-04 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-08  9:00 "Base" version in output of objdump Sasha Unknown
2017-01-04 16:26 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).