readelf -w and --debug-dump option help

* readelf (usage): Order -w letters to match --debug-dump= and
	move common '=' for --debug-dump out of brackets.
This commit is contained in:
Alan Modra
2021-05-27 09:21:18 +09:30
parent badf836a0c
commit 6643bb0010
2 changed files with 9 additions and 5 deletions

View 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> 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
PR ld/27905 PR ld/27905

View File

@ -4653,11 +4653,10 @@ usage (FILE * stream)
-R --relocated-dump=<number|name>\n\ -R --relocated-dump=<number|name>\n\
Dump the contents of section <number|name> as relocated bytes\n\ Dump the contents of section <number|name> as relocated bytes\n\
-z --decompress Decompress section before dumping it\n\ -z --decompress Decompress section before dumping it\n\
-w[lLiaprmfFsoORtUuTgAc] or\n\ -w[lLiaprmfFsOoRtgUuTAc] or\n\
--debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,\n\ --debug-dump=[rawline,decodedline,info,abbrev,pubnames,aranges,macro,frames,\n\
=frames-interp,=str,=str-offsets,=loc,=Ranges,=pubtypes,\n\ frames-interp,str,str-offsets,loc,Ranges,pubtypes,gdb_index,\n\
=gdb_index,=trace_info,=trace_abbrev,=trace_aranges,\n\ trace_info,trace_abbrev,trace_aranges,addr,cu_index]\n\
=addr,=cu_index]\n\
Display the contents of DWARF debug sections\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\ -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")); -P,--process-links Display the contents of non-debug sections in separate debuginfo files. (Implies -wK)\n"));