This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: readelf -S and long section name
- From: Ben Elliston <bje at wasabisystems dot com>
- To: binutils at sources dot redhat dot com
- Date: 27 Oct 2003 12:01:21 +1100
- Subject: Re: readelf -S and long section name
- References: <20030728164151.GA13263@lucon.org> <m3n0eyvbuo.fsf@redhat.com> <20030728172112.GA13933@lucon.org> <20030728173436.GS20507@sunsite.ms.mff.cuni.cz> <20030728174029.GA14213@lucon.org> <20030729003234.GE27145@bubble.sa.bigpond.net.au>
Alan Modra <amodra@bigpond.net.au> writes:
> 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.
The only problem I foresee is that it might break scripts that process
the output using cut(1) or awk(1). I feel that it's a minor point,
though I feel it should be mentioned in the NEWS file.
Ben