This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ld testsuite collect-ld
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 17 Jan 2012 10:46:17 +1030
- Subject: ld testsuite collect-ld
When building binutils with a not-yet-installed version of gcc, we need
to provide collect-ld in order to test ld-new.
* config/default.exp: Provide tmpdir/ld/collect-ld.
Index: ld/testsuite/config/default.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/config/default.exp,v
retrieving revision 1.16
diff -u -p -r1.16 default.exp
--- ld/testsuite/config/default.exp 12 May 2011 10:00:05 -0000 1.16
+++ ld/testsuite/config/default.exp 16 Jan 2012 23:58:47 -0000
@@ -67,6 +67,7 @@ set gcc_gas_flag "-B[pwd]/tmpdir/gas/"
if {![file isdirectory tmpdir/ld]} then {
catch "exec mkdir tmpdir/ld" status
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
+ catch "exec ln -s ld tmpdir/ld/collect-ld" status
}
set gcc_ld_flag "-B[pwd]/tmpdir/ld/"
--
Alan Modra
Australia Development Lab, IBM