diff options
author | Cary Coutant <ccoutant@gmail.com> | 2016-03-08 19:52:07 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-03-08 19:52:28 -0800 |
commit | 0863441e8a42031ad1f6957d7f21bae1992c5d44 (patch) | |
tree | 696bcb3983a7f473944211709b854f838f8b014d /gold | |
parent | 114d7832b0e07452277d748c81d8bc0c5675a1bc (diff) | |
download | gdb-0863441e8a42031ad1f6957d7f21bae1992c5d44.zip gdb-0863441e8a42031ad1f6957d7f21bae1992c5d44.tar.gz gdb-0863441e8a42031ad1f6957d7f21bae1992c5d44.tar.bz2 |
Fix Makefile so make clean removes overlooked files.
gold/
* testsuite/Makefile.am: Add to MOSTLYCLEANFILES.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/testsuite/Makefile.am | 10 | ||||
-rw-r--r-- | gold/testsuite/Makefile.in | 15 |
2 files changed, 20 insertions, 5 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index f8bf1e6..b2a751f 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -1368,6 +1368,8 @@ check_PROGRAMS += flagstest_compress_debug_sections check_DATA += flagstest_compress_debug_sections.stdout \ flagstest_compress_debug_sections.cmp \ flagstest_compress_debug_sections.check +MOSTLYCLEANFILES += flagstest_compress_debug_sections.check \ + flagstest_compress_debug_sections.cmp flagstest_compress_debug_sections: flagstest_debug.o gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib test -s $@ @@ -1402,6 +1404,8 @@ check_PROGRAMS += flagstest_compress_debug_sections_gnu check_DATA += flagstest_compress_debug_sections_gnu.stdout \ flagstest_compress_debug_sections_gnu.cmp \ flagstest_compress_debug_sections_gnu.check +MOSTLYCLEANFILES += flagstest_compress_debug_sections_gnu.check \ + flagstest_compress_debug_sections_gnu.cmp flagstest_compress_debug_sections_gnu: flagstest_debug.o gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib-gnu test -s $@ @@ -1427,6 +1431,8 @@ check_PROGRAMS += flagstest_compress_debug_sections_gabi check_DATA += flagstest_compress_debug_sections_gabi.stdout \ flagstest_compress_debug_sections_gabi.cmp \ flagstest_compress_debug_sections_gabi.check +MOSTLYCLEANFILES += flagstest_compress_debug_sections_gabi.cmp \ + flagstest_compress_debug_sections_gabi.check flagstest_compress_debug_sections_gabi: flagstest_debug.o gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib-gabi test -s $@ @@ -2557,7 +2563,7 @@ memory_test.stdout: memory_test # Test INCLUDE directives in linker scripts. # The binary isn't runnable, so we just check that we can build it without errors. check_DATA += memory_test_2 -MOSTLYCLEANFILES += memory_test_inc_1.t memory_test_inc_2.t memory_test_inc_3.t +MOSTLYCLEANFILES += memory_test_inc_1.t memory_test_inc_2.t memory_test_inc_3.t memory_test_2 memory_test_inc_1.t: $(srcdir)/memory_test_inc_1.t.src cp $< $@ memory_test_inc_2.t: $(srcdir)/memory_test_inc_2.t.src @@ -2583,7 +2589,7 @@ gdb_index_test_1.stdout: gdb_index_test_1 # Test that --gdb-index functions correctly with compressed debug sections. check_SCRIPTS += gdb_index_test_2.sh check_DATA += gdb_index_test_2.stdout -MOSTLYCLEANFILES += gdb_index_test_2.stdout gdb_index_test_2 +MOSTLYCLEANFILES += gdb_index_test_2.stdout gdb_index_test_2 gdb_index_test_2_gabi gdb_index_test_cdebug.o: gdb_index_test.cc $(CXXCOMPILE) -Bgcctestdir/ -O0 -g -Wa,--compress-debug-sections -c -o $@ $< gdb_index_test_2: gdb_index_test_cdebug.o gcctestdir/ld diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index 48cd631..b22fba6 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -301,8 +301,15 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ debug_msg_cdebug_gabi.err \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ debug_msg_so.err \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ debug_msg_ndebug.err \ -@GCC_TRUE@@NATIVE_LINKER_TRUE@ undef_symbol.err pr18689a.o \ -@GCC_TRUE@@NATIVE_LINKER_TRUE@ pr18689b.o flagstest_o_ttext_2 \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ undef_symbol.err \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections.check \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections.cmp \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_gnu.check \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_gnu.cmp \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_gabi.cmp \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_gabi.check \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ pr18689a.o pr18689b.o \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_ttext_2 \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ ver_test_11.a protected_3.err \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ justsyms_lib binary.txt \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ ver_matching_test.stdout \ @@ -549,7 +556,8 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ memory_test.o \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ memory_test_inc_1.t \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ memory_test_inc_2.t \ -@GCC_TRUE@@NATIVE_LINKER_TRUE@ memory_test_inc_3.t +@GCC_TRUE@@NATIVE_LINKER_TRUE@ memory_test_inc_3.t \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ memory_test_2 @GCC_TRUE@@MCMODEL_MEDIUM_TRUE@@NATIVE_LINKER_TRUE@am__append_52 = large @GCC_FALSE@large_DEPENDENCIES = @MCMODEL_MEDIUM_FALSE@large_DEPENDENCIES = @@ -658,6 +666,7 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ @GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_1 \ @GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_2.stdout \ @GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_2 \ +@GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_2_gabi \ @GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_2.stdout \ @GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_2 \ @GCC_TRUE@@HAVE_PUBNAMES_TRUE@@NATIVE_LINKER_TRUE@ gdb_index_test_3.stdout \ |