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.

Approved by:  Philip Blundell <pb@tazenda.demon.co.uk>
              Message-Id: <E13W4ea-0002M7-00@kings-cross.london.uk.eu.org>
This commit is contained in:
David O'Brien
2000-09-05 08:56:22 +00:00
parent 1396e7b4f0
commit dadf7240db
2 changed files with 8 additions and 1 deletions

View 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.

View 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: