From: David O'Brien Date: Tue, 5 Sep 2000 08:56:22 +0000 (+0000) Subject: 2000-09-05 Todd Vierling X-Git-Tag: binutils-2_10_1~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dadf7240dbaa7bd64e6ac8fa55809a22180c945a;p=thirdparty%2Fbinutils-gdb.git 2000-09-05 Todd Vierling From 2000-08-14 Todd Vierling * objcopy.c (strip_main): Silently accept -d as an alias for -g for compatability with old BSD systems. Approved by: Philip Blundell Message-Id: --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0edce79f3d4..b098ba65872 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2000-09-05 Todd Vierling + + From 2000-08-14 Todd Vierling + * objcopy.c (strip_main): Silently accept -d as an alias for -g + for compatability with old BSD systems. + 2000-09-04 Todd Vierling * strip.1: Fix stray '\' in -o formatting. diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 10b20e4b81d..6a6a327ab82 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -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: