From 31824c7e78419da68a0b48c8e605456a83c1defa Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 21 Sep 2015 10:00:38 +0000 Subject: [PATCH] [libc] implement an empty __libc_init_array routine in newlib --- components/libc/newlib/syscalls.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c index 388d240c9..239d20852 100644 --- a/components/libc/newlib/syscalls.c +++ b/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 */ +} -- GitLab