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]

PATCH: Document readelf -g


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  <hongjiu.lu@intel.com>

	* 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


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