svn commit: r237938 - in stable/9: gnu/lib/libsupc++ lib/libcxxrt

David Chisnall theraven at FreeBSD.org
Sun Jul 1 21:51:58 UTC 2012


Author: theraven
Date: Sun Jul  1 21:51:57 2012
New Revision: 237938
URL: http://svn.freebsd.org/changeset/base/237938

Log:
  MFC symbol exports for libsupcc++ and libcxxrt that correctly export new and
  delete operators.

Modified:
  stable/9/gnu/lib/libsupc++/Version.map
  stable/9/lib/libcxxrt/Version.map
Directory Properties:
  stable/9/gnu/lib/libsupc++/   (props changed)
  stable/9/lib/libcxxrt/   (props changed)

Modified: stable/9/gnu/lib/libsupc++/Version.map
==============================================================================
--- stable/9/gnu/lib/libsupc++/Version.map	Sun Jul  1 19:40:51 2012	(r237937)
+++ stable/9/gnu/lib/libsupc++/Version.map	Sun Jul  1 21:51:57 2012	(r237938)
@@ -130,6 +130,20 @@ CXXABI_1.3 {
     *;
 };
 
+GLIBCXX_3.4 {
+    # operator new and new[]
+    _Znai[jm];
+    _Zna[jm]RKSt9nothrow_t;
+    _Znw[jm];
+    _Znw[jm]RKSt9nothrow_t;
+
+    # operator delete and delete[]
+    _ZdaPv;
+    _ZdaPvRKSt9nothrow_t;
+    _ZdlPv;
+    _ZdlPvRKSt9nothrow_t;
+};
+
 CXXABI_1.3.1 {
 
     __cxa_get_exception_ptr;

Modified: stable/9/lib/libcxxrt/Version.map
==============================================================================
--- stable/9/lib/libcxxrt/Version.map	Sun Jul  1 19:40:51 2012	(r237937)
+++ stable/9/lib/libcxxrt/Version.map	Sun Jul  1 21:51:57 2012	(r237938)
@@ -306,11 +306,6 @@ CXXRT_1.0 {
         "std::type_info::__is_pointer_p() const";
 
 
-        "operator delete[](void*)";
-        "operator delete(void*)";
-        "operator new[](unsigned long)";
-        "operator new(unsigned long)";
-        "operator new(unsigned long, std::nothrow_t const&)";
 
     };
     __cxa_allocate_dependent_exception;
@@ -321,3 +316,16 @@ CXXRT_1.0 {
     __cxa_rethrow_primary_exception;
 
 } CXXABI_1.3.1;
+
+GLIBCXX_3.4 {
+    extern "C++" {
+        "operator delete[](void*)";
+        "operator delete(void*)";
+        "operator new[](unsigned int)";
+        "operator new(unsigned int)";
+        "operator new(unsigned int, std::nothrow_t const&)";
+        "operator new[](unsigned long)";
+        "operator new(unsigned long)";
+        "operator new(unsigned long, std::nothrow_t const&)";
+    };
+};


More information about the svn-src-all mailing list