summaryrefslogblamecommitdiff
path: root/src/kernel/lib/cpp.cpp
blob: d97e51a1ddfa1fb0476ef2cb4a214aa260e4cb38 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                             
#include "cpp.h"
#include <core/sys.h>

//Enables pure virtual functions
extern "C" void __cxa_pure_virtual() {
	//do nothing (or not)
	PANIC("Called pure virtual function.");
}

//Enables global objects
void *__dso_handle;
extern "C" int __cxa_atexit(void (*f)(void*), void *p, void *d) { return 0; }