aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-09-25 16:44:19 +0000
committerJakub Jelinek <jakub@redhat.com>2001-09-25 16:44:19 +0000
commitd974e256612f0886ab921d86345dace103c2e7ed (patch)
treead3ae970668ec255c235a23e9b369de61b067d2b /binutils/doc
parent09c1cc88284bffe4cbbeee9815f82e4edda35f37 (diff)
downloadgdb-d974e256612f0886ab921d86345dace103c2e7ed.zip
gdb-d974e256612f0886ab921d86345dace103c2e7ed.tar.gz
gdb-d974e256612f0886ab921d86345dace103c2e7ed.tar.bz2
* readelf.c (do_wide): New.
(options): Add --wide. (usage, parse_args): Likewise. (process_program_headers): Put each segment on a single line if --wide is given. (process_section_headers): Put each section on a single line if --wide is given. * doc/binutils.texi: Document it. * NEWS: Likewise.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 6b6f19e..45878cb 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -2837,6 +2837,7 @@ readelf [@option{-a}|@option{--all}]
[@option{-w[liaprmf]}|@option{--debug-dump}[=line,=info,=abbrev,=pubnames,=ranges,=macro,=frames]]
[@option{-histogram}]
[@option{-v}|@option{--version}]
+ [@option{-W}|@option{--wide}]
[@option{-H}|@option{--help}]
@var{elffile}@dots{}
@c man end
@@ -2949,6 +2950,14 @@ of the symbol tables.
@itemx --version
Display the version number of readelf.
+@item -W
+@itemx --wide
+Don't break output lines to fit into 80 columns. By default
+@command{readelf} breaks section header and segment listing lines for
+64-bit ELF files, so that they fit into 80 columns. This option causes
+@command{readelf} to print each section header resp. each segment one a
+single line, which is far more readable on terminals wider than 80 columns.
+
@item -H
@itemx --help
Display the command line options understood by @command{readelf}.