Explorar o código

[libc] implement an empty __libc_init_array routine in newlib

Bernard Xiong %!s(int64=10) %!d(string=hai) anos
pai
achega
31824c7e78
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 */
+}