From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8714 invoked by alias); 1 Apr 2005 14:49:49 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 8635 invoked from network); 1 Apr 2005 14:49:45 -0000 Received: from unknown (HELO rwcrmhc14.comcast.net) (216.148.227.89) by sourceware.org with SMTP; 1 Apr 2005 14:49:45 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc14) with ESMTP id <2005040114494401400aken2e>; Fri, 1 Apr 2005 14:49:44 +0000 Received: by lucon.org (Postfix, from userid 1000) id 3D02F97E5A; Fri, 1 Apr 2005 06:49:44 -0800 (PST) Date: Fri, 01 Apr 2005 14:49:00 -0000 From: "H. J. Lu" To: Nick Clifton Cc: binutils@sources.redhat.com Subject: PATCH: Document readelf -g Message-ID: <20050401144944.GA28756@lucon.org> References: <20050331210639.GA9469@lucon.org> <20050331225627.GA11433@lucon.org> <20050331234925.GB20449@bubble.modra.org> <424D28BB.80104@redhat.com> <20050401111316.GI27909@bubble.modra.org> <424D2FBA.6090704@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424D2FBA.6090704@redhat.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2005-04/txt/msg00040.txt.bz2 On Fri, Apr 01, 2005 at 12:25:46PM +0100, Nick Clifton wrote: > > 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... ? :-) > Here is a patch for 2.16. H.J. ---- 2005-04-01 H.J. Lu * NEWS: Mention new readelf option, "-N/--full-section-name". * doc/binutils.texi: Document new readelf option, "-g/--section-groups". Index: NEWS =================================================================== RCS file: /cvs/src/src/binutils/NEWS,v retrieving revision 1.48 diff -u -p -r1.48 NEWS --- NEWS 19 Jan 2005 23:43:00 -0000 1.48 +++ NEWS 1 Apr 2005 14:47:27 -0000 @@ -1,5 +1,7 @@ -*- text -*- +* Add "-g/--section-groups" to readelf to display section group. + * objcopy recognizes two new options --strip-unneeded-symbol and --strip-unneeded-symbols, namely for use together with the wildcard matching the original --strip-symbol/--strip-symbols provided, but Index: doc/binutils.texi =================================================================== RCS file: /cvs/src/src/binutils/doc/binutils.texi,v retrieving revision 1.68 diff -u -p -r1.68 binutils.texi --- doc/binutils.texi 3 Mar 2005 11:46:13 -0000 1.68 +++ doc/binutils.texi 1 Apr 2005 14:47:30 -0000 @@ -3222,6 +3222,7 @@ readelf [@option{-a}|@option{--all}] [@option{-h}|@option{--file-header}] [@option{-l}|@option{--program-headers}|@option{--segments}] [@option{-S}|@option{--section-headers}|@option{--sections}] + [@option{-g}|@option{--section-groups}] [@option{-e}|@option{--headers}] [@option{-s}|@option{--syms}|@option{--symbols}] [@option{-n}|@option{--notes}] @@ -3292,6 +3293,12 @@ has any. Displays the information contained in the file's section headers, if it has any. +@item -g +@itemx --section-groups +@cindex ELF section group information +Displays the information contained in the file's section groups, if it +has any. + @item -s @itemx --symbols @itemx --syms