Browse Source

[libc] implement an empty __libc_init_array routine in newlib

Bernard Xiong 10 năm trước cách đây
mục cha
commit
31824c7e78
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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 */
+}