Created attachment 7984 [details] Patch to add "DU" to getopt_long -D/-U, short counterparts for the --{enable,disable}-deterministic-archives options are not understood by objcopy/strip. Patch attached. I don't see any order in the list of options in getopt_long so I added "DU" to the end.
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, master has been updated via 7a093a782000c0d0f1a50d6a74ee786695f52c86 (commit) from ed4fd7b7f30020dfdcd79cfd1e36672395f905d7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a093a782000c0d0f1a50d6a74ee786695f52c86 commit 7a093a782000c0d0f1a50d6a74ee786695f52c86 Author: Alexander Cherepanov <cherepan@mccme.ru> Date: Wed Dec 24 14:50:53 2014 +0000 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. ----------------------------------------------------------------------- Summary of changes: binutils/ChangeLog | 6 ++++++ binutils/objcopy.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-)
Hi Alexander, I have applied your patch. Sorry for the long delay in repsonding to this PR. I have been very busy fixing memory access violations problems of late... Cheers Nick