bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BUG: binutils: strip -o


From: Eric Tittley
Subject: BUG: binutils: strip -o
Date: Tue, 26 Jun 2001 14:20:03 -0400

Hi,

The functionality of the command:
strip -o newfile oldfile
has been lost.

strip -h
indicates that it is a valild option.

The version is:
# strip --version
GNU strip 2.11.2

The patch to restore functionality is trivial, since it seems that
the 'o' option was just dropped from the list of valid options 
passed to getopt_long.

#diff -u objcopy.c.old objcopy.c
--- objcopy.c.old       Tue Jun 26 14:09:39 2001
+++ objcopy.c   Tue Jun 26 14:03:27 2001
@@ -1835,7 +1835,7 @@
   struct section_list *p;
   char *output_file = NULL;
 
-  while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXVvW:",
+  while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:o:O:d:F:L:G:R:SpgxXVvW:",
                           strip_options, (int *) 0)) != EOF)
     {
       switch (c)



Cheers,
        Eric

Dr. Eric Tittley   Post Doctoral Research Associate
Joint Center for Astrophysics                  UMBC



reply via email to

[Prev in Thread] Current Thread [Next in Thread]