summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--entry.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/entry.cpp b/entry.cpp
index e819c78..5a30175 100644
--- a/entry.cpp
+++ b/entry.cpp
@@ -55,3 +55,9 @@ void __attribute__((naked)) entry() {
// Halt.
while(1);
}
+
+extern "C" void __cxa_pure_virtual() {
+ while (1);
+}
+
+void* __dso_handle = 0;