summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-10-10 01:11:42 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-10-10 01:11:42 +0200
commit88162aeb7becabf7491585fb85b71ba99f1d3de3 (patch)
tree48c5551ced64184fe4da1c3dba13e2ba44f035f3
parentf0400fbf9b1993ef8c4e722e5bfd32fc53b1b898 (diff)
Add dummy symbols.
-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;