Browse Source

[libc] implement an empty __libc_init_array routine in newlib

Bernard Xiong 9 years ago
parent
commit
31824c7e78
1 changed files with 5 additions and 0 deletions
  1. 5 0
      components/libc/newlib/syscalls.c

+ 5 - 0
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 */
+}