PATCH: Pass -rc to ar
H.J. Lu
hongjiu.lu@intel.com
Fri Dec 7 17:56:00 GMT 2012
Hi,
I checked in this patch to pass -rc to ar instead of rc.
H.J.
--
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ChangeLog,v
retrieving revision 1.1635
diff -u -p -r1.1635 ChangeLog
--- ChangeLog 7 Dec 2012 12:32:50 -0000 1.1635
+++ ChangeLog 7 Dec 2012 17:51:11 -0000
@@ -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.
Index: lib/ld-lib.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/lib/ld-lib.exp,v
retrieving revision 1.97
diff -u -p -r1.97 ld-lib.exp
--- lib/ld-lib.exp 27 Nov 2012 17:26:11 -0000 1.97
+++ lib/ld-lib.exp 7 Dec 2012 17:51:11 -0000
@@ -981,7 +981,7 @@ proc set_file_contents { filename conten
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 {
More information about the Binutils
mailing list