[PATCH][GOLD] Fix dependency in testsuite/Makefile.am

Doug Kwan (關振德) dougkwan@google.com
Thu Oct 28 20:42:00 GMT 2010
Hi,

   This fixes a dependency of a target script_test_10 to use ../ld-new
instead of gcctestdir/ld, which is not available in a cross-linker
build.

-Doug


2010-10-28  Doug Kwan  <dougkwan@google.com>

	* testsuite/Makefile.am (script_test_10): Use ../ld-new instead of
	gcctestdir/ld.
	* testsuite/Makefile.in: Regenerate.
-------------- next part --------------
? gold/autom4te.cache
Index: gold/testsuite/Makefile.am
===================================================================
RCS file: /cvs/src/src/gold/testsuite/Makefile.am,v
retrieving revision 1.151
diff -u -u -p -r1.151 Makefile.am
--- gold/testsuite/Makefile.am	16 Oct 2010 00:37:25 -0000	1.151
+++ gold/testsuite/Makefile.am	28 Oct 2010 20:27:43 -0000
@@ -1813,8 +1813,8 @@ check_SCRIPTS += script_test_10.sh
 check_DATA += script_test_10.stdout
 script_test_10.o: script_test_10.s
 	$(TEST_AS) -o $@ $<
-script_test_10: $(srcdir)/script_test_10.t script_test_10.o gcctestdir/ld
-	gcctestdir/ld -o $@ script_test_10.o -T $(srcdir)/script_test_10.t
+script_test_10: $(srcdir)/script_test_10.t script_test_10.o ../ld-new
+	../ld-new -o $@ script_test_10.o -T $(srcdir)/script_test_10.t
 script_test_10.stdout: script_test_10
 	$(TEST_READELF) -SW script_test_10 > $@
 
Index: gold/testsuite/Makefile.in
===================================================================
RCS file: /cvs/src/src/gold/testsuite/Makefile.in,v
retrieving revision 1.160
diff -u -u -p -r1.160 Makefile.in
--- gold/testsuite/Makefile.in	16 Oct 2010 00:37:25 -0000	1.160
+++ gold/testsuite/Makefile.in	28 Oct 2010 20:27:43 -0000
@@ -4566,8 +4566,8 @@ uninstall-am:
 @GCC_TRUE@@NATIVE_LINKER_TRUE@	$(TEST_READELF) -lWS  $< > $@
 @NATIVE_OR_CROSS_LINKER_TRUE@script_test_10.o: script_test_10.s
 @NATIVE_OR_CROSS_LINKER_TRUE@	$(TEST_AS) -o $@ $<
-@NATIVE_OR_CROSS_LINKER_TRUE@script_test_10: $(srcdir)/script_test_10.t script_test_10.o gcctestdir/ld
-@NATIVE_OR_CROSS_LINKER_TRUE@	gcctestdir/ld -o $@ script_test_10.o -T $(srcdir)/script_test_10.t
+@NATIVE_OR_CROSS_LINKER_TRUE@script_test_10: $(srcdir)/script_test_10.t script_test_10.o ../ld-new
+@NATIVE_OR_CROSS_LINKER_TRUE@	../ld-new -o $@ script_test_10.o -T $(srcdir)/script_test_10.t
 @NATIVE_OR_CROSS_LINKER_TRUE@script_test_10.stdout: script_test_10
 @NATIVE_OR_CROSS_LINKER_TRUE@	$(TEST_READELF) -SW script_test_10 > $@
 @DEFAULT_TARGET_I386_TRUE@@NATIVE_OR_CROSS_LINKER_TRUE@split_i386_1.o: split_i386_1.s


More information about the Binutils mailing list