浏览代码

[libc] implement an empty __libc_init_array routine in newlib

Bernard Xiong 9 年之前
父节点
当前提交
31824c7e78
共有 1 个文件被更改,包括 5 次插入0 次删除
  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 */
+}