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: readelf -S and long section name


On Mon, Jul 28, 2003 at 10:40:29AM -0700, H. J. Lu wrote:
> The problem is one long section name, which is unusual in C++, will
> make a very large number of columns and make it hard to see the rest
> of output.

Perhaps test for > n chars and if so, wrap after the section name,
like

  [11] .text             PROGBITS        00015a80 015a80 0f9e34 00  AX  0   0 16
  [12] some_really_big_section_name_probably_from_c++_name_mangling
                         PROGBITS        0010f8c0 10f8c0 00086a 00  AX  0   0 16

With --wide, n probably should be increased too.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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