mescc: Mes C Library: Hang at the end if necessary.
* lib/linux/arm-mes-mescc/crt1.c (_start): Hang at the end if necessary.
This commit is contained in:
parent
040220acee
commit
d42f99e6cf
|
@ -71,5 +71,7 @@ HOWEVER, the function entry already allocated space for locals on the stack (aft
|
|||
|
||||
asm ("SYS_exit mov____$i8,%r7");
|
||||
asm ("swi____$0");
|
||||
asm ("hlt");
|
||||
do {
|
||||
asm ("wfi");
|
||||
} while (1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue