This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.3] export some cxxabiv1 symbols for LSB 2
- From: Michael Matz <matz at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, gdr at cs dot tamu dot edu
- Date: Tue, 27 Jul 2004 11:37:25 +0200 (CEST)
- Subject: [3.3] export some cxxabiv1 symbols for LSB 2
Hi,
the below patch exports symbols which are expected by LSB 2.0 for the 3.3
branch. I've tested it with the current version from
http://base1.freestandards.org/~anderson/ .
The patch is bootstraped/tested on amd64-linux. No regressions.
Ciao,
Michael.
--
* config/linker-map.gnu: Export some cxxabiv1:: symbols for LSB 2.
Index: linker-map.gnu
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/linker-map.gnu,v
retrieving revision 1.25.2.10
diff -u -p -r1.25.2.10 linker-map.gnu
--- linker-map.gnu 13 May 2004 21:32:56 -0000 1.25.2.10
+++ linker-map.gnu 27 Jul 2004 09:31:41 -0000
@@ -468,3 +468,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;