Ver Fonte

[libc] implement an empty __libc_init_array routine in newlib

Bernard Xiong há 10 anos atrás
pai
commit
31824c7e78
1 ficheiros alterados com 5 adições e 0 exclusões
  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 */
+}