diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-27 09:21:18 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-27 10:47:13 +0930 |
commit | 6643bb0010d9b3a2a222713420a70eb4da3e42cd (patch) | |
tree | f30e010f64a995e1286bba00204898bacc2cff0c /binutils | |
parent | badf836a0c727608d7660949bf353525ee2d8252 (diff) | |
download | fsf-binutils-gdb-6643bb0010d9b3a2a222713420a70eb4da3e42cd.zip fsf-binutils-gdb-6643bb0010d9b3a2a222713420a70eb4da3e42cd.tar.gz fsf-binutils-gdb-6643bb0010d9b3a2a222713420a70eb4da3e42cd.tar.bz2 |
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.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index acee8f7..7e69f9d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/readelf.c b/binutils/readelf.c index 8f24cc4..a6ed24c 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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")); |