Skip to content
Snippets Groups Projects
Commit 6e256507 authored by Cary Coutant's avatar Cary Coutant
Browse files

Fix gold testsuite failure with GCC 6.

With GCC 6 when not using -static-libstdc++, the operator delete(void*)
function is defined in the shared C++ support library, rather than in
the main program. The test script is too aggressive in checking for
this symbol's presence among the exported symbols. This patch removes
the check for that symbol.

gold/
	PR gold/20310
	* testsuite/dynamic_list.sh: Remove check for _ZdlPv.
parent 8db8e694
Branches
No related tags found
No related merge requests found
2016-06-29 Cary Coutant <ccoutant@gmail.com>
gold/
PR gold/20310
* testsuite/dynamic_list.sh: Remove check for _ZdlPv.
2016-06-29 Cary Coutant <ccoutant@gmail.com> 2016-06-29 Cary Coutant <ccoutant@gmail.com>
* testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2. * testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2.
......
...@@ -38,7 +38,6 @@ check() ...@@ -38,7 +38,6 @@ check()
} }
check dynamic_list.stdout "main" # comes via --dynamic-list 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 "_Z4t1_6v" # t1_6()
check dynamic_list.stdout "_ZN4t16aD1Ev" # t16a:~t16a() check dynamic_list.stdout "_ZN4t16aD1Ev" # t16a:~t16a()
check dynamic_list.stdout "_ZN4t16a1tEv" # t16a:t() check dynamic_list.stdout "_ZN4t16a1tEv" # t16a:t()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment