summaryrefslogtreecommitdiffhomepage
path: root/digital/ucoolib
diff options
context:
space:
mode:
Diffstat (limited to 'digital/ucoolib')
-rw-r--r--digital/ucoolib/ucoolib/arch/syscalls.newlib.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/digital/ucoolib/ucoolib/arch/syscalls.newlib.cc b/digital/ucoolib/ucoolib/arch/syscalls.newlib.cc
index 1c12f177..f18712cc 100644
--- a/digital/ucoolib/ucoolib/arch/syscalls.newlib.cc
+++ b/digital/ucoolib/ucoolib/arch/syscalls.newlib.cc
@@ -21,6 +21,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* }}} */
+#include "ucoolib/common.hh"
+
#include <reent.h>
#include <sys/stat.h>
#include <errno.h>
@@ -36,8 +38,7 @@ void *__dso_handle = (void*) &__dso_handle;
extern "C" void
__cxa_pure_virtual (void)
{
- while (1)
- ;
+ ucoo::halt ();
}
/** Increase program data space. */
@@ -58,8 +59,7 @@ _sbrk_r (struct _reent *ptr, int incr)
extern "C" void
_exit (int n)
{
- while (1)
- ;
+ ucoo::halt ();
}
/** Close a file, unimplemented. */