LPC11C24: Added abort() stub

This commit is contained in:
Pavel Kirienko
2014-04-15 15:44:40 +04:00
parent 80ebb62b49
commit a4884fc452
@@ -129,6 +129,11 @@ void __cxa_pure_virtual()
extern "C"
{
void abort()
{
while (true) { }
}
int _read_r(struct _reent*, int, char*, int)
{
return -1;
@@ -166,8 +171,7 @@ int _isatty_r(struct _reent*, int)
void _exit(int)
{
std::abort();
while (1) { }
abort();
}
pid_t _getpid(void)