aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-05-28 12:11:00 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-05-28 12:11:00 +0000
commit523f54dd4ad6e5a88d413f0c49a577739badea02 (patch)
treee59f42cbbad78a7989a1ef45d9348c033519def6
parentcf7aca24f74bbee0f99dabdde9cd1c3983d2ef4d (diff)
downloadsrc-523f54dd4ad6e5a88d413f0c49a577739badea02.tar.gz
src-523f54dd4ad6e5a88d413f0c49a577739badea02.zip
Correctly export operator new / delete for things linking against libsupc++ but
not libstdc++. Unfortunately, it appears that libsupc++ / libstdc++ have a different idea of the type of size_t to the rest of the world, which may cause problems later on... Reported by: des MFC after: 1 week
Notes
Notes: svn path=/head/; revision=236177
-rw-r--r--gnu/lib/libsupc++/Version.map10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/lib/libsupc++/Version.map b/gnu/lib/libsupc++/Version.map
index 12438ca61c1e..dfe453a1c238 100644
--- a/gnu/lib/libsupc++/Version.map
+++ b/gnu/lib/libsupc++/Version.map
@@ -126,6 +126,16 @@ CXXABI_1.3 {
# __gnu_cxx::_verbose_terminate_handler()
_ZN9__gnu_cxx27__verbose_terminate_handlerEv;
+ # new / delete operators
+ _Znaj;
+ _ZnajRKSt9nothrow_t;
+ _Znwj;
+ _ZnwjRKSt9nothrow_t;
+ _ZdaPv;
+ _ZdaPvRKSt9nothrow_t;
+ _ZdlPv;
+ _ZdlPvRKSt9nothrow_t;
+
local:
*;
};