summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++/new
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 06:45:54 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 06:45:54 +0000
commit065879726d3714d75d4d85f7d394dd635cb223ea (patch)
tree503b9c84a2f296a39097d2b65fb1534671499dd6 /libstdc++-v3/libsupc++/new
parent3ff2e84908256390a817f081b045cff337260ff1 (diff)
downloadgcc-065879726d3714d75d4d85f7d394dd635cb223ea.tar.gz
* libsupc++/cxxabi.h: Make all declarations have default
visibility. * libsupc++/exception: Likewise. * libsupc++/new: Likewise. * libsupc++/typeinfo: Likewise. * libsupc++/unwind-cxx.h: Likewise. * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into the __cxxabiv1 namespace. (__cxa_free_exception): Likewise. * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise. (__cxa_bad_typeid): Likewise. * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise. (__cxa_end_catch): Likewise. * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise. (__cxa_get_globals): Likewise. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. (__cxa_rethrow): Likewise. * libsupc++/pure.cc (__cxa_pure_virtual): Likewise. * libsupc++/eh_type.cc: Include <cxxabi.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85463 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++/new')
-rw-r--r--libstdc++-v3/libsupc++/new4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new
index 00e99464b90..434720dcd37 100644
--- a/libstdc++-v3/libsupc++/new
+++ b/libstdc++-v3/libsupc++/new
@@ -41,6 +41,8 @@
#include <cstddef>
#include <exception>
+#pragma GCC visibility push(default)
+
extern "C++" {
namespace std
@@ -98,4 +100,6 @@ inline void operator delete[](void*, void*) throw() { }
//@}
} // extern "C++"
+#pragma GCC visibility pop
+
#endif