Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/toolchain/binutils getopt_long option list was inco...



details:   https://anonhg.NetBSD.org/src/rev/3beee7c8003a
branches:  trunk
changeset: 520358:3beee7c8003a
user:      wdk <wdk%NetBSD.org@localhost>
date:      Tue Jan 08 06:58:32 2002 +0000

description:
getopt_long option list was incorrect.  Apply rev 1.20 diffs from
binutils-current respository.

    2001-06-24  H.J. Lu  <hjl%gnu.org@localhost>
        * objcopy.c (strip_main): Revert the change made on 2001-05-30
        by accident.
        (copy_main): Apply the the change made to strip_main on
        2001-05-30 by accident.

strip now passes the argument list as documented.

diffstat:

 gnu/dist/toolchain/binutils/objcopy.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 81f042145229 -r 3beee7c8003a gnu/dist/toolchain/binutils/objcopy.c
--- a/gnu/dist/toolchain/binutils/objcopy.c     Tue Jan 08 06:00:14 2002 +0000
+++ b/gnu/dist/toolchain/binutils/objcopy.c     Tue Jan 08 06:58:32 2002 +0000
@@ -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:Spgo:xXVvW:",
+  while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXVv",
                           strip_options, (int *) 0)) != EOF)
     {
       switch (c)
@@ -1967,7 +1967,7 @@
   struct section_list *p;
   struct stat statbuf;
 
-  while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:O:d:F:L:R:SpgxXVvW:",
+  while ((c = getopt_long (argc, argv, "b:B:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXVvW:",
                           copy_options, (int *) 0)) != EOF)
     {
       switch (c)



Home | Main Index | Thread Index | Old Index