"Base" version in output of objdump

Nick Clifton nickc@redhat.com
Wed Jan 4 16:26:00 GMT 2017


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



More information about the Binutils mailing list