summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2016-05-01 16:04:26 +0800
committerBernard Xiong <[email protected]>2016-05-01 16:04:26 +0800
commit06d3599d86dfe3c84541e4583db46455807ee21a (patch)
tree716994325adb27f2b4f6dbe099fba901337942d3
parent1436101b564924641e2ff0a2b90e6926348063cc (diff)
[libc] Add abort routine to replace old API.
abort routine will cause sig_xxx() reference.
-rw-r--r--components/libc/newlib/syscalls.c5
1 files changed, 5 insertions, 0 deletions
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 ;
+}