diff mbox

[libstdc++] : Export _ZNSt14numeric_limitsIgE12max_digits10E@@GLIBCXX_LDBL_3.4.14

Message ID AANLkTik6dQ3eEMWjHnj+2mRRRqkuOfGw=6g=BJdYJbzQ@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak March 22, 2011, 10:25 a.m. UTC
Hello!

std::numeric_limits<__float128>::max_digits10 long double export
should probably match other max_digits10 functions. At least alpha abi
check complains on incompatible added symbol without this patch.

2011-03-22  Uros Bizjak  <ubizjak@gmail.com>

	* config/os/gnu-linux/ldbl-extra.ver: Export
	_ZNSt14numeric_limitsIgE12max_digits10E@@GLIBCXX_LDBL_3.4.14
	* testsuite/util/testsuite_abi.cc (check_version): Support
	GLIBCXX_LDBL_3.4.14.

Tested on alphaev68-pc-linux-gnu. OK for mainline? 4.6.0?

Uros.
diff mbox

Patch

Index: config/os/gnu-linux/ldbl-extra.ver
===================================================================
--- config/os/gnu-linux/ldbl-extra.ver	(revision 171279)
+++ config/os/gnu-linux/ldbl-extra.ver	(working copy)
@@ -1,7 +1,10 @@ 
 # Appended to version file.
 
 GLIBCXX_LDBL_3.4 {
-  _ZNSt14numeric_limitsIgE*;
+  _ZNSt14numeric_limitsIgE[5-9]*;
+  _ZNSt14numeric_limitsIgE1[0-7][hirt]*;
+  _ZNSt14numeric_limitsIgE1[0-7]mi*;
+  _ZNSt14numeric_limitsIgE1[0-7]max_e*;
   _ZNSirsERg;
   _ZNSolsEg;
   _ZNSt13basic_istreamIwSt11char_traitsIwEErsERg;
@@ -25,6 +28,10 @@  GLIBCXX_LDBL_3.4.10 {
   _ZNKSt4hashIgEclEg;
 } GLIBCXX_LDBL_3.4.7;
 
+GLIBCXX_LDBL_3.4.14 {
+  _ZNSt14numeric_limitsIgE12max_digits10E;
+} GLIBCXX_LDBL_3.4.10;
+
 CXXABI_LDBL_1.3 {
   _ZT[IS]g;
   _ZT[IS]Pg;
Index: testsuite/util/testsuite_abi.cc
===================================================================
--- testsuite/util/testsuite_abi.cc	(revision 171279)
+++ testsuite/util/testsuite_abi.cc	(working copy)
@@ -196,6 +196,7 @@  check_version(symbol& test, bool added)
       known_versions.push_back("GLIBCXX_LDBL_3.4");
       known_versions.push_back("GLIBCXX_LDBL_3.4.7");
       known_versions.push_back("GLIBCXX_LDBL_3.4.10");
+      known_versions.push_back("GLIBCXX_LDBL_3.4.14");
       known_versions.push_back("CXXABI_1.3");
       known_versions.push_back("CXXABI_1.3.1");
       known_versions.push_back("CXXABI_1.3.2");