New libstdc++ symbol version for new basic_string symbols
authorJonathan Wakely <jwakely@redhat.com>
Fri, 29 Jul 2016 10:42:17 +0000 (11:42 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 29 Jul 2016 10:42:17 +0000 (11:42 +0100)
* acinclude.m4 (libtool_VERSION): Bump to 6:23:0.
* config/abi/pre/gnu.ver: Add 3.4.23 version for new basic_string
symbols.
* configure: Regenerate.
* testsuite/util/testsuite_abi.cc: Add new symbol version.

From-SVN: r238853

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/configure
libstdc++-v3/testsuite/util/testsuite_abi.cc

index b3cfd2e52c7721b2564ebbf6597decaa5bbc81ad..1bd0ebbab9fa04ca1cbf5c35d2c1df1d44c5204b 100644 (file)
@@ -1,5 +1,11 @@
 2016-07-29  Jonathan Wakely  <jwakely@redhat.com>
 
+       * acinclude.m4 (libtool_VERSION): Bump to 6:23:0.
+       * config/abi/pre/gnu.ver: Add 3.4.23 version for new basic_string
+       symbols.
+       * configure: Regenerate.
+       * testsuite/util/testsuite_abi.cc: Add new symbol version.
+
        * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
        * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
        * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
index 0824243ced9c5a73676974359f355dbb7bc35713..aaf5adbe62bde9a19d312ac9be3cedb24fab160a 100644 (file)
@@ -3696,7 +3696,7 @@ changequote([,])dnl
 fi
 
 # For libtool versioning info, format is CURRENT:REVISION:AGE
-libtool_VERSION=6:22:0
+libtool_VERSION=6:23:0
 
 # Everything parsed; figure out what files and settings to use.
 case $enable_symvers in
index 5c6b0feb2b3efd57613980ac1842e01f44025a93..b7f54e2ae344091f8262d88f817307b9eca4e80a 100644 (file)
@@ -1678,7 +1678,12 @@ GLIBCXX_3.4.21 {
     _ZNSt13__future_base13_State_baseV211_Make_ready6_M_setEv;
 
     # ABI-tagged std::basic_string
-    _ZNSt7__cxx1112basic_string*;
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE1[01]**;
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE12_Alloc_hiderC[12]EP[cw]RKS3_;
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE12_M*;
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE1[3-9]*;
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE[2-9]*;
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE[CDaip]*;
     _ZNKSt7__cxx1112basic_string*;
 
     # operator+ for ABI-tagged std::basic_string
@@ -1909,6 +1914,13 @@ GLIBCXX_3.4.22 {
 
 } GLIBCXX_3.4.21;
 
+GLIBCXX_3.4.23 {
+
+    # basic_string<C, T, A>::_Alloc_hider::_Alloc_hider(C*, A&&)
+    _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE12_Alloc_hiderC[12]EP[cw]OS3_;
+
+} GLIBCXX_3.4.22;
+
 # Symbols in the support library (libsupc++) have their own tag.
 CXXABI_1.3 {
 
index fcbf4029cf8ac25347c2079543eacec803f0d469..f2a75aaa2f35ae46ab710e469892e7289cd56b46 100755 (executable)
@@ -79051,7 +79051,7 @@ $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
 fi
 
 # For libtool versioning info, format is CURRENT:REVISION:AGE
-libtool_VERSION=6:22:0
+libtool_VERSION=6:23:0
 
 # Everything parsed; figure out what files and settings to use.
 case $enable_symvers in
index caf154400f952e87686f68c8e3e44120137bb589..90013454ba901dbdf07575beb202ff0989df9de8 100644 (file)
@@ -201,8 +201,9 @@ check_version(symbol& test, bool added)
       known_versions.push_back("GLIBCXX_3.4.19");
       known_versions.push_back("GLIBCXX_3.4.20");
       known_versions.push_back("GLIBCXX_3.4.21");
-      known_versions.push_back("GLIBCXX_3.4.22");
       known_versions.push_back("GLIBCXX_LDBL_3.4.21");
+      known_versions.push_back("GLIBCXX_3.4.22");
+      known_versions.push_back("GLIBCXX_3.4.23");
       known_versions.push_back("CXXABI_1.3");
       known_versions.push_back("CXXABI_LDBL_1.3");
       known_versions.push_back("CXXABI_1.3.1");
@@ -232,7 +233,7 @@ check_version(symbol& test, bool added)
        test.version_status = symbol::incompatible;
 
       // Check that added symbols are added in the latest pre-release version.
-      bool latestp = (test.version_name == "GLIBCXX_3.4.22"
+      bool latestp = (test.version_name == "GLIBCXX_3.4.23"
                     || test.version_name == "CXXABI_1.3.10"
                     || test.version_name == "CXXABI_FLOAT128"
                     || test.version_name == "CXXABI_TM_1");