From d52a4dca580e1bacb53409ada3510acd0fd66f02 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 7 Dec 2012 17:51:35 +0000 Subject: [PATCH] Pass -rc to ar * lib/ld-lib.exp (ar_simple_create): Pass -rc to ar. --- 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 c06f8abc13b..c5126c01b31 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-12-07 H.J. Lu + + * lib/ld-lib.exp (ar_simple_create): Pass -rc to ar. + 2012-12-07 H.J. Lu PR ld/14926 diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 3cb8ee187f1..4ddb659bc1f 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -981,7 +981,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" "$aropts -rc $target $objects"] set exec_output [prune_warnings $exec_output] if [string match "" $exec_output] then { -- 2.30.2