aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-02 16:52:41 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-02 16:52:41 +0100
commit352d2690f1eb7268cc21de643759e2f666119e9f (patch)
tree939a77baf25e556dbe7ba48fafc7f24010933545 /libstdc++-v3/config
parent1764d63bd98c6c08e993f5c39dfa0247985b1642 (diff)
downloadgcc-352d2690f1eb7268cc21de643759e2f666119e9f.zip
gcc-352d2690f1eb7268cc21de643759e2f666119e9f.tar.gz
gcc-352d2690f1eb7268cc21de643759e2f666119e9f.tar.bz2
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
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/abi/pre/gnu.ver3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver
index 07a0003..e61fbe0 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]*;