]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2000-09-05 Todd Vierling <tv@wasabisystems.com>
authorDavid O'Brien <obrien@FreeBSD.org>
Tue, 5 Sep 2000 08:56:22 +0000 (08:56 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Tue, 5 Sep 2000 08:56:22 +0000 (08:56 +0000)
From 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.

Approved by:  Philip Blundell <pb@tazenda.demon.co.uk>
              Message-Id: <E13W4ea-0002M7-00@kings-cross.london.uk.eu.org>

binutils/ChangeLog
binutils/objcopy.c

index 0edce79f3d4a204d5396df74f9f7be5fa046323d..b098ba65872b9b1ba64ea2fbc46d36411d8eb456 100644 (file)
@@ -1,3 +1,9 @@
+2000-09-05  Todd Vierling <tv@wasabisystems.com>
+
+       From 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-09-04  Todd Vierling  <tv@wasabisystems.com>
 
        * strip.1: Fix stray '\' in -o formatting.
index 10b20e4b81d1f27b3bf0eac867b04c97543f3767..6a6a327ab82a96b97996bbc0c32b810e6dc1c971 100644 (file)
@@ -1663,7 +1663,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)
@@ -1687,6 +1687,7 @@ strip_main (argc, argv)
          break;
        case 'S':
        case 'g':
+       case 'd':       /* NetBSD, historic BSD strip */
          strip_symbols = STRIP_DEBUG;
          break;
        case OPTION_STRIP_UNNEEDED: