From: Jonathan Wakely Date: Wed, 2 Oct 2019 15:52:41 +0000 (+0100) Subject: Remove greedy wildcards from libstdc++ linker script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=352d2690f1eb7268cc21de643759e2f666119e9f;p=gcc.git Remove greedy wildcards from libstdc++ linker script The only symbols matched by std::e[a-q]* and std::e[s-z]* that are supposed to be in the GLIBCXX_3.4 version are std::exception::* and std::endl and std::ends. The latter two already have explicit patterns matching them, so we just need to match std::exception::*. This change ensures that any new symbols with a return type of std::enable_if<...> are not added to the GLIBCXX_3.4 version. * config/abi/pre/gnu.ver: Tighten up greedy wildcards. From-SVN: r276468 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9b534cb2832..2474a69e805 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2019-10-02 Jonathan Wakely + * config/abi/pre/gnu.ver: Tighten up greedy wildcards. + * doc/xml/manual/parallel_mode.xml: Add caveat about support for recent standards. * doc/html/*: Regenerate. diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 07a00036827..e61fbe0ad66 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -80,9 +80,8 @@ GLIBCXX_3.4 { # std::domain_error::d*; # std::domain_error::~d*; std::d[p-z]*; - std::e[a-q]*; std::error[^_]*; - std::e[s-z]*; + std::exception::*; std::gslice*; std::h[^a]*; std::i[a-m]*;