summaryrefslogtreecommitdiff
path: root/components/libc/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/newlib')
-rw-r--r--components/libc/newlib/syscalls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c
index 388d240c94..239d208520 100644
--- a/components/libc/newlib/syscalls.c
+++ b/components/libc/newlib/syscalls.c
@@ -442,3 +442,8 @@ _system(const char *s)
/* not support this call */
return;
}
+
+void __libc_init_array(void)
+{
+ /* we not use __libc init_aray to initialize C++ objects */
+}