aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/pge-boot
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/m2/pge-boot')
-rw-r--r--gcc/m2/pge-boot/GM2RTS.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/m2/pge-boot/GM2RTS.cc b/gcc/m2/pge-boot/GM2RTS.cc
index b7d9175..bd24902 100644
--- a/gcc/m2/pge-boot/GM2RTS.cc
+++ b/gcc/m2/pge-boot/GM2RTS.cc
@@ -498,6 +498,7 @@ extern "C" void M2RTS_Halt (const char *description_, unsigned int _description_
memcpy (function, function_, _function_high+1);
M2RTS_ErrorMessage ((const char *) description, _description_high, (const char *) filename, _filename_high, line, (const char *) function, _function_high);
+ libc_exit (1);
}
@@ -510,6 +511,7 @@ extern "C" void M2RTS_Halt (const char *description_, unsigned int _description_
extern "C" void M2RTS_HaltC (void * description, void * filename, void * function, unsigned int line)
{
ErrorMessageC (description, filename, line, function);
+ libc_exit (1);
}