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
This commit is contained in:
Jonathan Wakely 2019-10-02 16:52:41 +01:00 committed by Jonathan Wakely
parent 1764d63bd9
commit 352d2690f1
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2019-10-02 Jonathan Wakely <jwakely@redhat.com>
* 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.

View File

@ -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]*;