readelf -w and --debug-dump option help
authorAlan Modra <amodra@gmail.com>
Wed, 26 May 2021 23:51:18 +0000 (09:21 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 27 May 2021 01:17:13 +0000 (10:47 +0930)
* readelf (usage): Order -w letters to match --debug-dump= and
move common '=' for --debug-dump out of brackets.

binutils/ChangeLog
binutils/readelf.c

index acee8f724e4a0c7f44d22d30c1cd6b0d3afedb16..7e69f9d90f52c7619188ae6cf2ba20f7146ad1b6 100644 (file)
@@ -1,3 +1,8 @@
+2021-05-27  Alan Modra  <amodra@gmail.com>
+
+       * readelf (usage): Order -w letters to match --debug-dump= and
+       move common '=' for --debug-dump out of brackets.
+
 2021-05-26  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/27905
index 8f24cc4071bac5c25a13e985aa41df94822b8735..a6ed24c03bd0f03b2eefc156136706e19b7a721b 100644 (file)
@@ -4653,11 +4653,10 @@ usage (FILE * stream)
   -R --relocated-dump=<number|name>\n\
                          Dump the contents of section <number|name> as relocated bytes\n\
   -z --decompress        Decompress section before dumping it\n\
-  -w[lLiaprmfFsoORtUuTgAc] or\n\
-  --debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,\n\
-               =frames-interp,=str,=str-offsets,=loc,=Ranges,=pubtypes,\n\
-               =gdb_index,=trace_info,=trace_abbrev,=trace_aranges,\n\
-               =addr,=cu_index]\n\
+  -w[lLiaprmfFsOoRtgUuTAc] or\n\
+  --debug-dump=[rawline,decodedline,info,abbrev,pubnames,aranges,macro,frames,\n\
+                frames-interp,str,str-offsets,loc,Ranges,pubtypes,gdb_index,\n\
+                trace_info,trace_abbrev,trace_aranges,addr,cu_index]\n\
                          Display the contents of DWARF debug sections\n\
   -wk,--debug-dump=links Display the contents of sections that link to separate debuginfo files\n\
   -P,--process-links     Display the contents of non-debug sections in separate debuginfo files.  (Implies -wK)\n"));