aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-12-11 13:22:51 +0000
committerNick Clifton <nickc@redhat.com>2003-12-11 13:22:51 +0000
commit6ea3dd37aebf88ac52737b4f84767785731f3f32 (patch)
treed5eb057852cc774e8eea28fd89c05c41cd6ad8e2 /binutils/objcopy.c
parent16b47b253e65a3d447c57a0dc7a4d0490a3d6628 (diff)
downloadgdb-6ea3dd37aebf88ac52737b4f84767785731f3f32.zip
gdb-6ea3dd37aebf88ac52737b4f84767785731f3f32.tar.gz
gdb-6ea3dd37aebf88ac52737b4f84767785731f3f32.tar.bz2
Add --only-keep-debug to the --help output.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index da9b4d9..b861b74 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -391,6 +391,7 @@ copy_usage (FILE *stream, int exit_status)
-g --strip-debug Remove all debugging symbols & sections\n\
--strip-unneeded Remove all symbols not needed by relocations\n\
-N --strip-symbol <name> Do not copy symbol <name>\n\
+ --only-keep-debug Strip everything but the debug information\n\
-K --keep-symbol <name> Only copy symbol <name>\n\
-L --localize-symbol <name> Force symbol <name> to be marked as a local\n\
-G --keep-global-symbol <name> Localize all symbols except <name>\n\
@@ -464,6 +465,7 @@ strip_usage (FILE *stream, int exit_status)
-s --strip-all Remove all symbol and relocation information\n\
-g -S -d --strip-debug Remove all debugging symbols & sections\n\
--strip-unneeded Remove all symbols not needed by relocations\n\
+ --only-keep-debug Strip everything but the debug information\n\
-N --strip-symbol=<name> Do not copy symbol <name>\n\
-K --keep-symbol=<name> Only copy symbol <name>\n\
-w --wildcard Permit wildcard in symbol comparasion\n\