Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/spu/exit.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 60af1edab..0ecc3ea17 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-09 Ben Elliston <bje@au.ibm.com>
+
+ * spu/exit.c (_exit): Finish with an infinite loop to eliminate a
+ warning about this noreturn function returning.
+
2007-01-04 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
diff --git a/libgloss/spu/exit.c b/libgloss/spu/exit.c
index 1b639b50e..899f32456 100644
--- a/libgloss/spu/exit.c
+++ b/libgloss/spu/exit.c
@@ -42,4 +42,7 @@ void _exit(int rc)
"1:\n"
" stop 0x2000\n"
: : "r" (rc) );
+
+ for (;;)
+ ;
}