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
This commit is contained in:
Rainer Orth 2012-10-11 08:38:28 +00:00 committed by Rainer Orth
parent d131a4afce
commit 92257853d0
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-10-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/54872
* config/abi/pre/gnu.ver (GLIBCXX_3.4.11) [!__sun__ && !__svr4__]:
Don't export _ZNSt12system_errorC*.
2012-10-10 Jack Howarth <howarth@bromo.med.uc.edu> 2012-10-10 Jack Howarth <howarth@bromo.med.uc.edu>
Jonathan Wakely <jwakely.gcc@gmail.com> Jonathan Wakely <jwakely.gcc@gmail.com>

View File

@ -1057,7 +1057,12 @@ GLIBCXX_3.4.11 {
_ZTISt12system_error; _ZTISt12system_error;
_ZTVSt12system_error; _ZTVSt12system_error;
_ZNSt12system_errorD*Ev; _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*; _ZNSt12system_errorC*;
#endif
_ZNKSt4hashISt10error_codeEclES0_; _ZNKSt4hashISt10error_codeEclES0_;