* strings.c (DATA_FLAGS): Remove SEC_DATA.

(main): If no file names are given, scan standard input.
	* binutils.texi, strings.1: strings now scans non-data sections by
	default.
This commit is contained in:
Ian Lance Taylor 1995-07-25 15:26:54 +00:00
parent 636414911e
commit 5f0570473a
2 changed files with 8 additions and 8 deletions

View File

@ -1280,8 +1280,8 @@ For each @var{file} given, GNU @code{strings} prints the printable
character sequences that are at least 4 characters long (or the number
given with the options below) and are followed by a NUL or newline
character. By default, it only prints the strings from the initialized
data sections of object files; for other types of files, it prints the
strings from the whole file.
and loaded sections of object files; for other types of files, it prints
the strings from the whole file.
@code{strings} is mainly useful for determining the contents of non-text
files.
@ -1290,8 +1290,8 @@ files.
@item -a
@itemx --all
@itemx -
Do not scan only the initialized data section of object files; scan
the whole files.
Do not scan only the initialized and loaded sections of object files;
scan the whole files.
@item -f
@itemx --print-file-name

View File

@ -44,8 +44,8 @@ given, GNU \c
prints the printable character sequences that are at least 4
characters long (or the number given with the options below) and are
followed by a NUL or newline character. By default, it only prints
the strings from the initialized data sections of object files; for
other types of files, it prints the strings from the whole file.
the strings from the initialized and loaded sections of object files;
for other types of files, it prints the strings from the whole file.
.PP
.B strings
@ -61,8 +61,8 @@ equivalent.
.B \-\-all
.TP
.B \-
Do not scan only the initialized data section of object files; scan
the whole files.
Do not scan only the initialized and loaded sections of object files;
scan the whole files.
.TP
.B \-f