diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2012-10-11 08:38:28 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2012-10-11 08:38:28 +0000 |
commit | 92257853d02a1b019b87c3ed14edd63404860a32 (patch) | |
tree | f6049732ad8341f1f45c349d04c0c93e27ed1890 /libstdc++-v3/config | |
parent | d131a4afce71c1148384fb12daf7595a3856efad (diff) | |
download | gcc-92257853d02a1b019b87c3ed14edd63404860a32.zip gcc-92257853d02a1b019b87c3ed14edd63404860a32.tar.gz gcc-92257853d02a1b019b87c3ed14edd63404860a32.tar.bz2 |
Fix Solaris symbol versioning (PR libstdc++/54872)
PR libstdc++/54872
* config/abi/pre/gnu.ver (GLIBCXX_3.4.11) [!__sun__ && !__svr4__]:
Don't export _ZNSt12system_errorC*.
From-SVN: r192349
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index e23fdfb..949ab50 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1057,7 +1057,12 @@ GLIBCXX_3.4.11 { _ZTISt12system_error; _ZTVSt12system_error; _ZNSt12system_errorD*Ev; + # Those template instantiations weren't exported on Solaris in GCC 4.6 + # and aren't necessary for correct operation, so don't emit them now + # (PR libstdc++/54872). +#if !defined(__sun__) && !defined(__svr4__) _ZNSt12system_errorC*; +#endif _ZNKSt4hashISt10error_codeEclES0_; |