Added dummy __cxa_atexit() and __cxa_finalize() to the kernel. We might

actually implement those, if we decide to support global
constructors/destructors in kernel add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-11-04 16:26:43 +00:00
parent d64f6189c0
commit fb8e088927
+14
View File
@@ -56,6 +56,20 @@ __cxa_pure_virtual()
panic("pure virtual function call\n");
}
extern "C" int
__cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle)
{
return 0;
}
extern "C" void
__cxa_finalize(void* dsoHandle)
{
}
#endif
// full C++ support in the kernel