Add --only-keep-debug to the --help output.
authorNick Clifton <nickc@redhat.com>
Thu, 11 Dec 2003 13:22:51 +0000 (13:22 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 11 Dec 2003 13:22:51 +0000 (13:22 +0000)
binutils/ChangeLog
binutils/objcopy.c

index 77f21b0cc961b4b32a6399dc5456b5361489b140..3caa02027f2a16795e844f10c05ae5689c3daa08 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-11  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (strip_usage): Add --only-keep-debug.
+       (copy_usage): Likewise.
+
 2003-12-04  Nick Clifton  <nickc@redhat.com>
 
        * objcopy.c (copy_object): Do not copy the object if the
index da9b4d9514cc95350fbe857b51af3ba8277b992d..b861b744b612d98381c17aa6c239d77a29bc368b 100644 (file)
@@ -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\