summaryrefslogtreecommitdiffstats
path: root/contrib/libcxxrt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcxxrt')
-rw-r--r--contrib/libcxxrt/stdexcept.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/libcxxrt/stdexcept.cc b/contrib/libcxxrt/stdexcept.cc
index 74a7fe5..7aaca12 100644
--- a/contrib/libcxxrt/stdexcept.cc
+++ b/contrib/libcxxrt/stdexcept.cc
@@ -82,13 +82,23 @@ const char* bad_typeid::what() const throw()
return "std::bad_typeid";
}
+__attribute__((weak))
bad_array_new_length::bad_array_new_length() throw() {}
+__attribute__((weak))
bad_array_new_length::~bad_array_new_length() {}
+__attribute__((weak))
bad_array_new_length::bad_array_new_length(const bad_array_new_length&) throw() {}
+__attribute__((weak))
bad_array_new_length& bad_array_new_length::operator=(const bad_array_new_length&) throw()
{
return *this;
}
+__attribute__((weak))
+const char *bad_array_new_length::what() const throw()
+{
+ return "std::bad_array_new_length";
+}
+
} // namespace std
OpenPOWER on IntegriCloud