ARC: MWDT: libc: add _exit support
Default weak _exit implementation from ARC MWDT libs calls _exit_halt from startup libs. As we are going to get rid of startup libs usage let's implement _exit stub. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
6c37258f5b
commit
9f948a84f7
|
@ -76,3 +76,9 @@ int *___errno(void)
|
|||
{
|
||||
return z_errno();
|
||||
}
|
||||
|
||||
__weak void _exit(int status)
|
||||
{
|
||||
while (1) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue