Kaynağa Gözat

[libc] implement an empty __libc_init_array routine in newlib

Bernard Xiong 10 yıl önce
ebeveyn
işleme
31824c7e78
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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 */
+}