This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Move -rc before $aropts
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 29 Jan 2015 19:12:29 -0000
- Subject: [binutils-gdb] Move -rc before $aropts
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1a215085d4bc09f76028c323ca3729abbd822bae
commit 1a215085d4bc09f76028c323ca3729abbd822bae
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jan 29 11:11:03 2015 -0800
Move -rc before $aropts
* lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
Diff:
---
ld/testsuite/ChangeLog | 4 ++++
ld/testsuite/lib/ld-lib.exp | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index d05b762..7bc1ea6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
+
2015-01-29 Alan Modra <amodra@gmail.com>
* ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 0a25f86..6671719 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1058,7 +1058,7 @@ proc set_file_contents { filename contents } {
proc ar_simple_create { ar aropts target objects } {
remote_file host delete $target
- set exec_output [run_host_cmd "$ar" "$aropts -rc $target $objects"]
+ set exec_output [run_host_cmd "$ar" "-rc $aropts $target $objects"]
set exec_output [prune_warnings $exec_output]
if [string match "" $exec_output] then {