Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2012 21:51:58 +0000 (UTC)
From:      David Chisnall <theraven@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r237938 - in stable/9: gnu/lib/libsupc++ lib/libcxxrt
Message-ID:  <201207012151.q61LpwB9025752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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&)";
+    };
+};



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207012151.q61LpwB9025752>