Pass -rc to ar
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Dec 2012 17:51:35 +0000 (17:51 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Dec 2012 17:51:35 +0000 (17:51 +0000)
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.

ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp

index c06f8abc13bd786e90887659ac0bf48412c3cab9..c5126c01b31c818c489d985ed3318f8a4e910ba9 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
+
 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/14926
index 3cb8ee187f16f5967814e740a0f144f09accce93..4ddb659bc1fb04470cb68f9f11abb33b67e2168e 100644 (file)
@@ -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 {
This page took 0.031779 seconds and 4 git commands to generate.