From 6ea3dd37aebf88ac52737b4f84767785731f3f32 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 11 Dec 2003 13:22:51 +0000 Subject: [PATCH] Add --only-keep-debug to the --help output. --- binutils/ChangeLog | 5 +++++ binutils/objcopy.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 77f21b0..3caa020 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2003-12-11 Nick Clifton + + * objcopy.c (strip_usage): Add --only-keep-debug. + (copy_usage): Likewise. + 2003-12-04 Nick Clifton * objcopy.c (copy_object): Do not copy the object if the 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 Do not copy symbol \n\ + --only-keep-debug Strip everything but the debug information\n\ -K --keep-symbol Only copy symbol \n\ -L --localize-symbol Force symbol to be marked as a local\n\ -G --keep-global-symbol Localize all symbols except \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= Do not copy symbol \n\ -K --keep-symbol= Only copy symbol \n\ -w --wildcard Permit wildcard in symbol comparasion\n\ -- 2.7.4