From 0863441e8a42031ad1f6957d7f21bae1992c5d44 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 8 Mar 2016 19:52:07 -0800 Subject: [PATCH] Fix Makefile so make clean removes overlooked files. gold/ * testsuite/Makefile.am: Add to MOSTLYCLEANFILES. * testsuite/Makefile.in: Regenerate. --- gold/testsuite/Makefile.am | 10 ++++++++-- 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 f8bf1e6250d..b2a751fde2f 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 48cd6310a30..b22fba6bbe7 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 \ -- 2.30.2