From 0ce0e2c234601712b3ae5ae6fddd5d862d202f18 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 20 Feb 2021 11:35:41 +0800 Subject: [PATCH] update --- components/libc/compilers/newlib/syscalls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/libc/compilers/newlib/syscalls.c b/components/libc/compilers/newlib/syscalls.c index 916922a7fe..aee8ac360d 100644 --- a/components/libc/compilers/newlib/syscalls.c +++ b/components/libc/compilers/newlib/syscalls.c @@ -283,6 +283,7 @@ _free_r (struct _reent *ptr, void *addr) rt_free (addr); } +/* for exit() and abort() */ __attribute__ ((noreturn)) void _exit (int status) { -- GitLab