diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-25 09:23:24 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-25 09:23:24 +0000 |
commit | 76f691ab23bf7890f4198f21d209600f2fc1f58f (patch) | |
tree | 2f5312dccef6078fe20ceca9f0e996171aee52fc /binutils | |
parent | 4ad5edf7584111e9d7c60868d842f92f28b893cf (diff) | |
download | binutils-redhat-76f691ab23bf7890f4198f21d209600f2fc1f58f.tar.gz |
* objcopy.c (copy_usage): Fix description of -K switch.
* doc/binutils.texi (strip, objcopy): Fix description of -K switch.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/doc/binutils.texi | 8 | ||||
-rw-r--r-- | binutils/objcopy.c | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 05bd850d3f..82dec22525 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2005-04-25 Nick Clifton <nickc@redhat.com> + + * objcopy.c (copy_usage): Fix description of -K switch. + * doc/binutils.texi (strip, objcopy): Fix description of -K + switch. + 2005-04-20 Daniel Jacobowitz <dan@codesourcery.com> * readelf.c (display_debug_frames): Use data factor for diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index a422ed0f62..33e3025ffb 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -1102,8 +1102,8 @@ Strip all symbols that are not needed for relocation processing. @item -K @var{symbolname} @itemx --keep-symbol=@var{symbolname} -Copy only symbol @var{symbolname} from the source file. This option may -be given more than once. +When stripping symbols, keep symbol @var{symbolname} even if it would +normally be stripped. This option may be given more than once. @item -N @var{symbolname} @itemx --strip-symbol=@var{symbolname} @@ -2277,8 +2277,8 @@ Remove all symbols that are not needed for relocation processing. @item -K @var{symbolname} @itemx --keep-symbol=@var{symbolname} -Keep only symbol @var{symbolname} from the source file. This option may -be given more than once. +When stripping symbols, keep symbol @var{symbolname} even if it would +normally be stripped. This option may be given more than once. @item -N @var{symbolname} @itemx --strip-symbol=@var{symbolname} diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 856b348888..03f71e1bc7 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -419,7 +419,7 @@ copy_usage (FILE *stream, int exit_status) Do not copy symbol <name> unless needed by\n\ relocations\n\ --only-keep-debug Strip everything but the debug information\n\ - -K --keep-symbol <name> Only copy symbol <name>\n\ + -K --keep-symbol <name> Do not strip symbol <name>\n\ -L --localize-symbol <name> Force symbol <name> to be marked as a local\n\ --globalize-symbol <name> Force symbol <name> to be marked as a global\n\ -G --keep-global-symbol <name> Localize all symbols except <name>\n\ |