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:
authorBen Elliston <bje@gnu.org>2007-01-09 03:54:00 +0300
committerBen Elliston <bje@gnu.org>2007-01-09 03:54:00 +0300
commit5a308d4f2dd4bfd901a3fe2691ccb0c9f9c02c40 (patch)
treef4ef96aa8193ab9a1965986dcd7baa2702239540 /libgloss
parent8e0e8f40fb7a6ea998062955b15d6de09cb54b72 (diff)
* spu/exit.c (_exit): Finish with an infinite loop to eliminate a
warning about this noreturn function returning.
Diffstat (limited to 'libgloss')
-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 (;;)
+ ;
}