]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Adjust linker script to stop exporting unwanted symbol in old version
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Apr 2019 16:44:12 +0000 (17:44 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 26 Apr 2019 16:44:12 +0000 (17:44 +0100)
As discussed in the thread starting at
https://gcc.gnu.org/ml/libstdc++/2019-04/msg00140.html

* config/abi/pre/gnu.ver (GLIBCXX_3.4): Replace wildcard that matches
wstring::_M_replace_dispatch with more specific patterns.

From-SVN: r270611

libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver

index 604f1d5b8faa84d3c37bb8c88fcf5219af45c7bc..ef948bccc4fbe6567bd5d5fbed2da99bbb10c692 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-26  Jonathan Wakely  <jwakely@redhat.com>
+
+       * config/abi/pre/gnu.ver (GLIBCXX_3.4): Replace wildcard that matches
+       wstring::_M_replace_dispatch with more specific patterns.
+
 2019-04-26  Jakub Jelinek  <jakub@redhat.com>
 
        * config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt: Update.
index e8cf6f0a4a9d272083a323b26f6222b4d0ef2407..7eff4e983f3fd4e84542bc81da42b3a2c3f04bb0 100644 (file)
@@ -299,7 +299,8 @@ GLIBCXX_3.4 {
     _ZNSbIwSt11char_traitsIwESaIwEE12_S_constructE[jmy]wRKS1_;
     _ZNSbIwSt11char_traitsIwESaIwEE12_S_empty_repEv;
     _ZNSbIwSt11char_traitsIwESaIwEE13_S_copy_chars*;
-    _ZNSbIwSt11char_traitsIwESaIwEE[0-9][0-9]_M_replace*;
+    _ZNSbIwSt11char_traitsIwESaIwEE14_M_replace_aux*;
+    _ZNSbIwSt11char_traitsIwESaIwEE15_M_replace_safe*;
     _ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_destroy*;
     _ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_dispose*;
     _ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_refcopyEv;