diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-14 05:27:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-14 05:27:45 +0000 |
commit | 0e470e5c9016b2d40672ca45082bef22ccb6918f (patch) | |
tree | a8653ee03396436c3af454b4d2f4abfa02605961 /gold/testsuite/Makefile.am | |
parent | 6d01333390a0047a4e8ec0d69f4d1c8f43c3fc55 (diff) | |
download | gdb-0e470e5c9016b2d40672ca45082bef22ccb6918f.zip gdb-0e470e5c9016b2d40672ca45082bef22ccb6918f.tar.gz gdb-0e470e5c9016b2d40672ca45082bef22ccb6918f.tar.bz2 |
Add some missing dependencies for the new linker.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index e24c0ba..6156527 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -309,6 +309,7 @@ exception_separate_shared_21_test_LDADD = \ check_PROGRAMS += weak_test weak_test_SOURCES = weak_test.cc +weak_test_DEPENDENCIES = gcctestdir/ld weak_test_LDFLAGS = -Bgcctestdir/ @@ -460,14 +461,14 @@ undef_symbol.err: undef_symbol_main.o undef_symbol.so gcctestdir/ld # Test --compress-debug-sections. FIXME: check we actually compress. check_PROGRAMS += flagstest_compress_debug_sections -flagstest_compress_debug_sections: flagstest_debug.o +flagstest_compress_debug_sections: flagstest_debug.o gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -o $@ $< --compress-debug-sections=zlib test -s $@ # Test -o when emitting to a special file (such as something in /dev). check_PROGRAMS += flagstest_o_specialfile -flagstest_o_specialfile: flagstest_debug.o +flagstest_o_specialfile: flagstest_debug.o gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -o /dev/stdout $< 2>&1 | cat > $@ chmod a+x $@ test -s $@ @@ -475,7 +476,8 @@ flagstest_o_specialfile: flagstest_debug.o # The specialfile output has a tricky case when we also compress debug # sections, because it requires output-file resizing. check_PROGRAMS += flagstest_o_specialfile_and_compress_debug_sections -flagstest_o_specialfile_and_compress_debug_sections: flagstest_debug.o +flagstest_o_specialfile_and_compress_debug_sections: flagstest_debug.o \ + gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -o /dev/stdout $< --compress-debug-sections=zlib 2>&1 | cat > $@ chmod a+x $@ test -s $@ |