Browse Source

[libc] Add abort routine to replace old API.

abort routine will cause sig_xxx() reference.
Bernard Xiong 9 years ago
parent
commit
06d3599d86
1 changed files with 5 additions and 0 deletions
  1. 5 0
      components/libc/newlib/syscalls.c

+ 5 - 0
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 ;
+}