From 06d3599d86dfe3c84541e4583db46455807ee21a Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sun, 1 May 2016 16:04:26 +0800 Subject: [PATCH] [libc] Add abort routine to replace old API. abort routine will cause sig_xxx() reference. --- 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 239d208520..b5d4ec5bf6 100644 --- a/components/libc/newlib/syscalls.c +++ b/components/libc/newlib/syscalls.c @@ -447,3 +447,8 @@ void __libc_init_array(void) { /* we not use __libc init_aray to initialize C++ objects */ } + +void abort(void) +{ + return ; +} -- GitLab