Move -rc before $aropts

* lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
This commit is contained in:
H.J. Lu 2015-01-29 11:11:03 -08:00
parent cd366ee8c6
commit 1a215085d4
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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 {