aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-01-29 11:11:03 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-01-29 11:11:03 -0800
commit1a215085d4bc09f76028c323ca3729abbd822bae (patch)
tree4dc4b6aa74af1db3ae3316e56094d5f56f1357a8 /ld/testsuite/lib
parentcd366ee8c6ca1dfe8aa11540402904b64775b208 (diff)
downloadgdb-1a215085d4bc09f76028c323ca3729abbd822bae.zip
gdb-1a215085d4bc09f76028c323ca3729abbd822bae.tar.gz
gdb-1a215085d4bc09f76028c323ca3729abbd822bae.tar.bz2
Move -rc before $aropts
* lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r--ld/testsuite/lib/ld-lib.exp2
1 files changed, 1 insertions, 1 deletions
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 {