Silently accept -d as an alias for -g for compatability with old BSD systems.
authorNick Clifton <nickc@redhat.com>
Mon, 14 Aug 2000 19:47:01 +0000 (19:47 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 14 Aug 2000 19:47:01 +0000 (19:47 +0000)
binutils/ChangeLog
binutils/objcopy.c

index e4868fc62a1a133bbc336ec0858be5273f3ab3ff..f257f8debe6dd3fe0f77dd2731fb3811b97ccb30 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-14  Todd Vierling <tv@wasabisystems.com>
+
+       * objcopy.c (strip_main): Silently accept -d as an alias for -g
+       for compatability with old BSD systems.
+
 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
 
        * NEWS: Mention i860 support.
index b8a49c8a34423aa309e0aa2b70f8e325b9997b9f..9147e2a6d4474755caecd85a65ad62147ef26412 100644 (file)
@@ -1668,7 +1668,7 @@ strip_main (argc, argv)
   struct section_list *p;
   char *output_file = NULL;
 
-  while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpgxXVv",
+  while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXVv",
                           strip_options, (int *) 0)) != EOF)
     {
       switch (c)
@@ -1692,6 +1692,7 @@ strip_main (argc, argv)
          break;
        case 'S':
        case 'g':
+       case 'd':       /* Historic BSD alias for -g.  Used by early NetBSD.  */
          strip_symbols = STRIP_DEBUG;
          break;
        case OPTION_STRIP_UNNEEDED:
This page took 0.031005 seconds and 4 git commands to generate.