Fix gold testsuite failure with GCC 6.
authorCary Coutant <ccoutant@gmail.com>
Thu, 30 Jun 2016 06:24:35 +0000 (23:24 -0700)
committerCary Coutant <ccoutant@gmail.com>
Thu, 30 Jun 2016 06:24:35 +0000 (23:24 -0700)
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.

gold/ChangeLog
gold/testsuite/dynamic_list.sh

index 5e1fddceca5e855cf01592f95874aba9a2ea93e6..239df36f234ec6ade83a7701c2923911bc6d3c70 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        * testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2.
index 96117604749203793e1f0d22bbb10bd18f18a1ed..0dbd05a3d6f0901dbd22a60391839a9603fd70e4 100755 (executable)
@@ -38,7 +38,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 "_ZN4t16aD1Ev"    # t16a:~t16a()
 check dynamic_list.stdout "_ZN4t16a1tEv"    # t16a:t()
This page took 0.024984 seconds and 4 git commands to generate.