This patch fixes a snafu where the -D and -U short versions of the

--enable-deterministic-archives and --disable-deteministic-archive
options were not being accepted.

	PR binutils/17671
	* objcopy.c (copy_main, strip_main): Add D and U to the list of
	accepted short versions of long options.
This commit is contained in:
Alexander Cherepanov 2014-12-24 14:50:53 +00:00 committed by Nick Clifton
parent ed4fd7b7f3
commit 7a093a7820
2 changed files with 8 additions and 2 deletions

View file

@ -3254,7 +3254,7 @@ strip_main (int argc, char *argv[])
int i;
char *output_file = NULL;
while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXHhVvw",
while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXHhVvwDU",
strip_options, (int *) 0)) != EOF)
{
switch (c)
@ -3545,7 +3545,7 @@ copy_main (int argc, char *argv[])
struct stat statbuf;
const bfd_arch_info_type *input_arch = NULL;
while ((c = getopt_long (argc, argv, "b:B:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXHhVvW:w",
while ((c = getopt_long (argc, argv, "b:B:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXHhVvW:wDU",
copy_options, (int *) 0)) != EOF)
{
switch (c)