diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-07 17:51:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-07 17:51:34 +0000 |
commit | 72153c0027e1f571af141e1b9d1adbd7eda4cfcb (patch) | |
tree | e5cafec5d844300fc197b2c1f5c9baa83985b35f /ld | |
parent | 9d696cc8f56e1ac76dc7fc74c99c005b8964d084 (diff) | |
download | binutils-redhat-72153c0027e1f571af141e1b9d1adbd7eda4cfcb.tar.gz |
Pass -rc to ar
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index c06f8abc13..c5126c01b3 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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 * ld-elf/pr14926.d: New file. * ld-elf/pr14926.s: Likewise. diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 3cb8ee187f..4ddb659bc1 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 { |