Gold testsuite make clean
authorAlan Modra <amodra@gmail.com>
Fri, 6 Feb 2015 07:50:49 +0000 (18:20 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 9 Feb 2015 02:49:53 +0000 (13:19 +1030)
* testsuite/Makefile.am (MOSTLYCLEANFILES): Add libweak_undef_2.a,
plugin_test_thin.a and defsym_test.
* testsuite/Makefile.in: Regenerate.

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

index 73ee43e37bf604a9673033190318988c4bef9717..c920592ee31f5ac51ca811a7f47c7cae91dc64c1 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add libweak_undef_2.a,
+       plugin_test_thin.a and defsym_test.
+       * testsuite/Makefile.in: Regenerate.
+
 2015-02-04  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
 
        * merge.cc (do_add_input_section): Combine loop epilogue into main loop
index be3b27874f8b75ad7133b8a680022474762ac00c..4e2ce6b7895501b80d60d7f28856b61271b1b061 100644 (file)
@@ -733,6 +733,7 @@ weak_undef_test_2_SOURCES = weak_undef_test_2.cc
 weak_undef_test_2_DEPENDENCIES = gcctestdir/ld libweak_undef_2.a
 weak_undef_test_2_LDFLAGS = -Bgcctestdir/ -u weak_undef_2
 weak_undef_test_2_LDADD = -L . -lweak_undef_2
+MOSTLYCLEANFILES += libweak_undef_2.a
 libweak_undef_2.a: weak_undef_file3.o weak_undef_file4.o
        $(TEST_AR) rc $@ $^
 weak_undef_file3.o: weak_undef_file3.cc
@@ -1670,7 +1671,7 @@ plugin_test_10.sections: plugin_test_10
 check_PROGRAMS += plugin_test_11
 check_SCRIPTS += plugin_test_11.sh
 check_DATA += plugin_test_11.err
-MOSTLYCLEANFILES += plugin_test_11.err
+MOSTLYCLEANFILES += plugin_test_11.err plugin_test_thin.a
 PLUGIN_TEST_11_SYMS = two_file_test_1.o.syms two_file_test_1b.o.syms two_file_test_2.o.syms
 plugin_test_11: two_file_test_main.o plugin_test_thin.a gcctestdir/ld plugin_test.so $(PLUGIN_TEST_11_SYMS)
        $(CXXLINK) -Bgcctestdir/ -Wl,--no-demangle,--plugin,"./plugin_test.so",--plugin-opt,"_Z4f13iv" two_file_test_main.o plugin_test_thin.a 2>plugin_test_11.err
@@ -2279,7 +2280,7 @@ ehdr_start_test_5_LDADD =
 # Test that the --defsym option copies the symbol type and visibility.
 check_SCRIPTS += defsym_test.sh
 check_DATA += defsym_test.syms
-MOSTLYCLEANFILES += defsym_test.syms
+MOSTLYCLEANFILES += defsym_test defsym_test.syms
 defsym_test.syms: defsym_test
        $(TEST_READELF) -sW $< > $@
 defsym_test: defsym_test.o gcctestdir/ld
index 9389ce0807e0f3ed6f37594630b97d0e703e9380..6a3a05df6e008e5f66291ba0981cc43f40608124 100644 (file)
@@ -155,7 +155,8 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ icf_sht_rel_addend_test \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ merge_string_literals \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ two_file_shared.dbg \
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ alt/weak_undef_lib.so
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ alt/weak_undef_lib.so \
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ libweak_undef_2.a
 @GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_5 = icf_virtual_function_folding_test \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ large_symbol_alignment \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ basic_test basic_pic_test
@@ -388,7 +389,8 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@   plugin_test_9.err \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@   two_file_test_1c.o \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@   plugin_test_10.sections \
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@   plugin_test_11.err
+@GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@   plugin_test_11.err \
+@GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@   plugin_test_thin.a
 @GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@@TLS_TRUE@am__append_37 = plugin_test_tls
 @GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@@TLS_TRUE@am__append_38 = plugin_test_tls.sh
 @GCC_TRUE@@NATIVE_LINKER_TRUE@@PLUGINS_TRUE@@TLS_TRUE@am__append_39 = plugin_test_tls.err
@@ -583,7 +585,7 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_71 = ehdr_start_test_4.syms \
 @GCC_TRUE@@NATIVE_LINKER_TRUE@ defsym_test.syms
 @GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_72 = ehdr_start_test_4 \
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ defsym_test.syms
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ defsym_test defsym_test.syms
 @GCC_FALSE@ehdr_start_test_5_DEPENDENCIES =
 @NATIVE_LINKER_FALSE@ehdr_start_test_5_DEPENDENCIES =