* testsuite/Makefile.am (memory_test.o): New target.
authorIan Lance Taylor <ian@airs.com>
Sat, 18 Sep 2010 00:34:58 +0000 (00:34 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 18 Sep 2010 00:34:58 +0000 (00:34 +0000)
(memory_test): Depend on memory_test.o, gcctestdir/ld, and
memory_test.t.
* testsuite/Makefile.in: Rebuild.

gold/ChangeLog
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in

index db96352bdc17b72ae8b4ad6f77aa9c706a889cfd..fa478b42527c3fb8db63e81d6f4246825e136d5d 100644 (file)
@@ -1,6 +1,10 @@
 2010-09-17  Ian Lance Taylor  <iant@google.com>
 
        * testsuite/memory_test.sh: Adjust for change of 2010-09-10.
+       * testsuite/Makefile.am (memory_test.o): New target.
+       (memory_test): Depend on memory_test.o, gcctestdir/ld, and
+       memory_test.t.
+       * testsuite/Makefile.in: Rebuild.
 
 2010-09-17  Doug Kwan  <dougkwan@google.com>
 
index 064f44d40f2219e2a37f21cf6a1599f3d048c045..adc0a235fbc79f7e5253965e26a9e77aef1c9f5a 100644 (file)
@@ -1788,8 +1788,9 @@ libstart_lib_test.a: start_lib_test_1.o
 check_SCRIPTS += memory_test.sh
 check_DATA += memory_test.stdout
 MOSTLYCLEANFILES += memory_test.stdout memory_test memory_test.o
-memory_test: memory_test.s
-       $(COMPILE) -c $< -o memory_test.o
+memory_test.o: memory_test.s
+       $(COMPILE) -o $@ -c $<
+memory_test: memory_test.o gcctestdir/ld $(srcdir)/memory_test.t
        $(LINK) -Bgcctestdir/ -nostartfiles -nostdlib -T $(srcdir)/memory_test.t -o $@ memory_test.o
 memory_test.stdout: memory_test
        $(TEST_READELF) -lWS  $< > $@
index 7f62404201f3d1d500bad73018ac9842eb2b7864..357b96e62f126aed32777deb176df7a24858a93d 100644 (file)
@@ -4528,8 +4528,9 @@ uninstall-am:
 @GCC_TRUE@@NATIVE_LINKER_TRUE@         -Wl,--start-lib start_lib_test_2.o start_lib_test_3.o -Wl,--end-lib
 @GCC_TRUE@@NATIVE_LINKER_TRUE@libstart_lib_test.a: start_lib_test_1.o
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AR) rc $@ $^
-@GCC_TRUE@@NATIVE_LINKER_TRUE@memory_test: memory_test.s
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(COMPILE) -c $< -o memory_test.o
+@GCC_TRUE@@NATIVE_LINKER_TRUE@memory_test.o: memory_test.s
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(COMPILE) -o $@ -c $<
+@GCC_TRUE@@NATIVE_LINKER_TRUE@memory_test: memory_test.o gcctestdir/ld $(srcdir)/memory_test.t
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LINK) -Bgcctestdir/ -nostartfiles -nostdlib -T $(srcdir)/memory_test.t -o $@ memory_test.o
 @GCC_TRUE@@NATIVE_LINKER_TRUE@memory_test.stdout: memory_test
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_READELF) -lWS  $< > $@