From: Ian Lance Taylor Date: Tue, 25 Jul 1995 15:26:54 +0000 (+0000) Subject: * strings.c (DATA_FLAGS): Remove SEC_DATA. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f0570473ab7a16f0faa2b83eeb77f5597c43644;p=binutils-gdb.git * 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. --- diff --git a/binutils/binutils.texi b/binutils/binutils.texi index ac9a91f47b2..c2f04047de4 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -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 diff --git a/binutils/strings.1 b/binutils/strings.1 index 1426605c827..616a83e658f 100644 --- a/binutils/strings.1 +++ b/binutils/strings.1 @@ -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