aboutsummaryrefslogtreecommitdiff
path: root/playground/src/init_high.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'playground/src/init_high.cpp')
-rw-r--r--playground/src/init_high.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/playground/src/init_high.cpp b/playground/src/init_high.cpp
index b877b7d..85e7d41 100644
--- a/playground/src/init_high.cpp
+++ b/playground/src/init_high.cpp
@@ -18,6 +18,13 @@ extern constructor_t _init_array_start[], _init_array_end[];
}
extern "C"
+__attribute__((noreturn))
+void __cxa_pure_virtual() {
+ while (1) {
+ }
+}
+
+extern "C"
void *memset(void *dst, int i, size_t n) {
if (n) {
char *d = (char *) dst;