PATCH: Add -N to readelf to display section name

Nick Clifton nickc@redhat.com
Fri Apr 1 11:28:00 GMT 2005


Hi Alan,

>>I realise that the patch has already been applied, but it seems to me 
>>that adding a new switch to control the displaying of the full section 
>>name is wrong - I think that this ought to be controlled by the already 
>>existing "--wide" switch.  ie if you specify --wide on the command line 
>>you get the full section names and wider-than-80-character output, 
>>whereas if you omit the switch you get possibly truncated section names 
>>and restricted-to-a-maximum-of-80-characters output.

> I think this was discussed before, with someone making a point that
> --wide is supposed to not split output lines.  HJ's patch puts the
> section name on a separate line.

Ah - OK - thanks for the explanation.

By the way, just being picky, but shouldn't a new switch like this be 
documented in binutils/doc/binutils.texi and mentioned in 
binutils/NEWS... ? :-)

Cheers
   Nick




More information about the Binutils mailing list