aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2016-03-08 20:30:26 -0800
committerCary Coutant <ccoutant@gmail.com>2016-03-08 20:36:31 -0800
commit7ff6eb49a2b79a2ad95c814ad990316545bf3692 (patch)
tree5dc0490978a69fa4acb43857a9f9f18989eb6b7c /gold
parent202736beb188043bbac7a3b071f5f7a2b7f85dfa (diff)
downloadgdb-7ff6eb49a2b79a2ad95c814ad990316545bf3692.zip
gdb-7ff6eb49a2b79a2ad95c814ad990316545bf3692.tar.gz
gdb-7ff6eb49a2b79a2ad95c814ad990316545bf3692.tar.bz2
Remove checks for constructors that might have been eliminated by GCC.
GCC 6 does not generate constructors for two of gold's test cases. This patch simply removes the checks for them. gold/ PR 19751 * testsuite/Makefile.am (retain_symbols_file_test): Remove check for constructor. * testsuite/Makefile.in: Regenerate. * testsuite/dynamic_list.sh: Likewise. * testsuite/retain_symbols_file_test.sh: Likewise.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog9
-rw-r--r--gold/testsuite/Makefile.am1
-rw-r--r--gold/testsuite/Makefile.in1
-rwxr-xr-xgold/testsuite/dynamic_list.sh1
-rwxr-xr-xgold/testsuite/retain_symbols_file_test.sh1
5 files changed, 9 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index e16db61..e1748b1 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,6 +1,15 @@
2016-03-08 Cary Coutant <ccoutant@gmail.com>
PR 19751
+ * testsuite/Makefile.am (retain_symbols_file_test): Remove check
+ for constructor.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/dynamic_list.sh: Likewise.
+ * testsuite/retain_symbols_file_test.sh: Likewise.
+
+2016-03-08 Cary Coutant <ccoutant@gmail.com>
+
+ PR 19751
* arm.cc (Reloc_stub::Key::name): Add unused attribute.
* dirsearch.cc (Dir_caches::~Dir_caches): Likewise.
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index b2a751f..2920587 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -2214,7 +2214,6 @@ MOSTLYCLEANFILES += retain_symbols_file_test retain_symbols_file_test.in \
retain_symbols_file_test.so: basic_pic_test.o gcctestdir/ld
echo 'main' > retain_symbols_file_test.in
echo 't1' >> retain_symbols_file_test.in
- echo '_ZN4t16bC1Ev' >> retain_symbols_file_test.in
echo '_ZNK4t20a3getEv' >> retain_symbols_file_test.in
echo '_Z3t18v' >> retain_symbols_file_test.in
echo '__tcf_0' >> retain_symbols_file_test.in
diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in
index b22fba6..4eafa54 100644
--- a/gold/testsuite/Makefile.in
+++ b/gold/testsuite/Makefile.in
@@ -6198,7 +6198,6 @@ uninstall-am:
@GCC_TRUE@@NATIVE_LINKER_TRUE@retain_symbols_file_test.so: basic_pic_test.o gcctestdir/ld
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo 'main' > retain_symbols_file_test.in
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo 't1' >> retain_symbols_file_test.in
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '_ZN4t16bC1Ev' >> retain_symbols_file_test.in
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '_ZNK4t20a3getEv' >> retain_symbols_file_test.in
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '_Z3t18v' >> retain_symbols_file_test.in
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '__tcf_0' >> retain_symbols_file_test.in
diff --git a/gold/testsuite/dynamic_list.sh b/gold/testsuite/dynamic_list.sh
index 51c16a1..9611760 100755
--- a/gold/testsuite/dynamic_list.sh
+++ b/gold/testsuite/dynamic_list.sh
@@ -40,7 +40,6 @@ check()
check dynamic_list.stdout "main" # comes via --dynamic-list
check dynamic_list.stdout "_ZdlPv" # "operator delete(void*)"
check dynamic_list.stdout "_Z4t1_6v" # t1_6()
-check dynamic_list.stdout "_ZN4t16aC2Ev" # t16a:t16a()
check dynamic_list.stdout "_ZN4t16aD1Ev" # t16a:~t16a()
check dynamic_list.stdout "_ZN4t16a1tEv" # t16a:t()
check dynamic_list.stdout "_ZTI4t16a" # typeinfo for t16a
diff --git a/gold/testsuite/retain_symbols_file_test.sh b/gold/testsuite/retain_symbols_file_test.sh
index 7d9c031..4204ab4 100755
--- a/gold/testsuite/retain_symbols_file_test.sh
+++ b/gold/testsuite/retain_symbols_file_test.sh
@@ -44,7 +44,6 @@ check_absent()
}
check_present 't1'
-check_present 't16b::t16b()'
check_present 't20a::get()'
check_present 't18()'
check_absent 't10'