diff options
author | David O'Brien <obrien@FreeBSD.org> | 2000-09-05 08:56:22 +0000 |
---|---|---|
committer | David O'Brien <obrien@FreeBSD.org> | 2000-09-05 08:56:22 +0000 |
commit | dadf7240dbaa7bd64e6ac8fa55809a22180c945a (patch) | |
tree | c54d1c37810cf36e482317311e88a468a8516cee | |
parent | 1396e7b4f082fc9ec349c52a189d24dfc6a12615 (diff) | |
download | binutils-dadf7240dbaa7bd64e6ac8fa55809a22180c945a.zip binutils-dadf7240dbaa7bd64e6ac8fa55809a22180c945a.tar.gz binutils-dadf7240dbaa7bd64e6ac8fa55809a22180c945a.tar.bz2 |
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>
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/objcopy.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0edce79..b098ba6 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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. diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 10b20e4..6a6a327 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: |