]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This patch fixes a snafu where the -D and -U short versions of the
authorAlexander Cherepanov <cherepan@mccme.ru>
Wed, 24 Dec 2014 14:50:53 +0000 (14:50 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 24 Dec 2014 14:50:53 +0000 (14:50 +0000)
--enable-deterministic-archives and --disable-deteministic-archive
options were not being accepted.

PR binutils/17671
* objcopy.c (copy_main, strip_main): Add D and U to the list of
accepted short versions of long options.

binutils/ChangeLog
binutils/objcopy.c

index 3427f0d182888e8f367e7fb2f1d0f6f22279f96e..6eae51655b32b7cc84298ffae3691f826e18ff4c 100644 (file)
@@ -1,3 +1,9 @@
+2014-12-24  Alexander Cherepanov  <cherepan@mccme.ru>
+
+       PR binutils/17671
+       * objcopy.c (copy_main, strip_main): Add D and U to the list of
+       accepted short versions of long options.
+
 2014-12-24  Nick Clifton  <nickc@redhat.com>
 
        * dwarf.c (read_cie): Revert check for unused augmentation data -
index 2e1cb54ec827a9df9e4558e8babfecb98706cc56..cac40891c385bfaa7ce5537e0faa244328625f11 100644 (file)
@@ -3254,7 +3254,7 @@ strip_main (int argc, char *argv[])
   int i;
   char *output_file = NULL;
 
-  while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXHhVvw",
+  while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXHhVvwDU",
                           strip_options, (int *) 0)) != EOF)
     {
       switch (c)
@@ -3545,7 +3545,7 @@ copy_main (int argc, char *argv[])
   struct stat statbuf;
   const bfd_arch_info_type *input_arch = NULL;
 
-  while ((c = getopt_long (argc, argv, "b:B:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXHhVvW:w",
+  while ((c = getopt_long (argc, argv, "b:B:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXHhVvW:wDU",
                           copy_options, (int *) 0)) != EOF)
     {
       switch (c)