File lsb2-symbols.diff of Package gcc33
2004-07-27 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export typeinfo information.
* configure.in (libtool_VERSION): To 5:7:0.
* configure: Regenerate.
* testsuite/abi_check.cc (check_version): Add CXXABI_1.2.2.
Index: libstdc++-v3/config/linker-map.gnu
===================================================================
--- libstdc++-v3/config/linker-map.gnu.orig 2009-11-20 13:04:57.000000000 +0100
+++ libstdc++-v3/config/linker-map.gnu 2009-11-20 13:06:13.000000000 +0100
@@ -401,6 +401,14 @@ GLIBCPP_3.2.4 {
} GLIBCPP_3.2.3;
+GLIBCPP_3.2.5 {
+
+ # For LSB 2.0
+ # std::__codecvt_abstract_base*
+ _ZNSt23__codecvt_abstract_base*;
+
+} GLIBCPP_3.2.4;
+
# Symbols in the support library (libsupc++) have their own tag.
CXXABI_1.2 {
@@ -468,3 +476,31 @@ CXXABI_1.2.1 {
__cxa_guard_abort;
} CXXABI_1.2;
+
+CXXABI_1.2.2 {
+
+ # For LSB 2.0
+ # *_type_info classes, ctor and dtor
+ _ZN10__cxxabiv117__array_type_info*;
+ _ZN10__cxxabiv117__class_type_info*;
+ _ZN10__cxxabiv116__enum_type_info*;
+ _ZN10__cxxabiv120__function_type_info*;
+ _ZN10__cxxabiv123__fundamental_type_info*;
+ _ZN10__cxxabiv117__pbase_type_info*;
+ _ZN10__cxxabiv129__pointer_to_member_type_info*;
+ _ZN10__cxxabiv119__pointer_type_info*;
+ _ZN10__cxxabiv120__si_class_type_info*;
+ _ZN10__cxxabiv121__vmi_class_type_info*;
+
+ # *_type_info classes, member functions
+ _ZNK10__cxxabiv117__class_type_info*;
+ _ZNK10__cxxabiv120__function_type_info*;
+ _ZNK10__cxxabiv117__pbase_type_info*;
+ _ZNK10__cxxabiv129__pointer_to_member_type_info*;
+ _ZNK10__cxxabiv119__pointer_type_info*;
+ _ZNK10__cxxabiv120__si_class_type_info*;
+ _ZNK10__cxxabiv121__vmi_class_type_info*;
+
+ # __gnu_cxx::_verbose_terminate_handler()
+ _ZN9__gnu_cxx27__verbose_terminate_handlerEv;
+} CXXABI_1.2.1;
Index: libstdc++-v3/configure
===================================================================
--- libstdc++-v3/configure.orig 2009-11-20 13:04:57.000000000 +0100
+++ libstdc++-v3/configure 2009-11-20 13:06:13.000000000 +0100
@@ -591,7 +591,7 @@ ORIGINAL_LD_FOR_MULTILIBS=$LD
PACKAGE=libstdc++
# For libtool versioning info, format is CURRENT:REVISION:AGE
-libtool_VERSION=5:6:0
+libtool_VERSION=5:7:0
Index: libstdc++-v3/configure.in
===================================================================
--- libstdc++-v3/configure.in.orig 2009-11-20 13:04:57.000000000 +0100
+++ libstdc++-v3/configure.in 2009-11-20 13:06:13.000000000 +0100
@@ -13,7 +13,7 @@ ORIGINAL_LD_FOR_MULTILIBS=$LD
PACKAGE=libstdc++
AC_SUBST(PACKAGE)
# For libtool versioning info, format is CURRENT:REVISION:AGE
-libtool_VERSION=5:6:0
+libtool_VERSION=5:7:0
AC_SUBST(libtool_VERSION)
GLIBCPP_TOPREL_CONFIGURE
Index: libstdc++-v3/testsuite/abi_check.cc
===================================================================
--- libstdc++-v3/testsuite/abi_check.cc.orig 2009-11-20 13:04:57.000000000 +0100
+++ libstdc++-v3/testsuite/abi_check.cc 2009-11-20 13:06:13.000000000 +0100
@@ -90,6 +90,7 @@ check_version(const symbol_info& test, b
known_versions.push_back("GLIBCPP_3.2.4"); // gcc-3.3.4
known_versions.push_back("CXXABI_1.2");
known_versions.push_back("CXXABI_1.2.1");
+ known_versions.push_back("CXXABI_1.2.2");
}
compat_list::iterator begin = known_versions.begin();
compat_list::iterator end = known_versions.end();