summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-08-29 22:05:40 +0000
committerPaul Brook <paul@codesourcery.com>2006-08-29 22:05:40 +0000
commit83cc5b75d985be0f77fafa46a13a74db6b453a12 (patch)
tree3cdead3daa050b5f12c23838424b6e4a7998c662
parent975f7bea95b0d7294ec33a6eedb6c2736ecae3a1 (diff)
downloadcygnal-83cc5b75d985be0f77fafa46a13a74db6b453a12.tar.gz
cygnal-83cc5b75d985be0f77fafa46a13a74db6b453a12.tar.bz2
cygnal-83cc5b75d985be0f77fafa46a13a74db6b453a12.zip
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/ * libc/sys/arm/_fault_isr.c (_fault_isr): Compile unconditionally. * libc/sys/arm/_nmi_isr.c (_nmi_isr): Ditto.
-rw-r--r--ChangeLog.csl6
-rw-r--r--newlib/libc/sys/arm/_fault_isr.c6
-rw-r--r--newlib/libc/sys/arm/_nmi_isr.c6
3 files changed, 8 insertions, 10 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index df4dfe4fd..535d3789e 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,6 +1,12 @@
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/
+ * libc/sys/arm/_fault_isr.c (_fault_isr): Compile unconditionally.
+ * libc/sys/arm/_nmi_isr.c (_nmi_isr): Ditto.
+
+2006-08-29 Paul Brook <paul@codesourcery.com>
+
+ newlib/
* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Remove.
* configure.in: Remove --disable-newlib-atexit-dynamic-alloc.
* libc/stdlib/__atexit.c (__register_exitproc): Use weak reference to
diff --git a/newlib/libc/sys/arm/_fault_isr.c b/newlib/libc/sys/arm/_fault_isr.c
index 1272eb56a..f0fc81aed 100644
--- a/newlib/libc/sys/arm/_fault_isr.c
+++ b/newlib/libc/sys/arm/_fault_isr.c
@@ -1,16 +1,12 @@
#include "newlib.h"
-#ifdef _ARM_V7M
-
/* Called when a hardware fault occurs. Users can replace this
function. */
-void
+void
_fault_isr()
{
/* Sit an endless loop so that the user can analyze the situation
from the debugger. */
while (1);
}
-
-#endif
diff --git a/newlib/libc/sys/arm/_nmi_isr.c b/newlib/libc/sys/arm/_nmi_isr.c
index 81b60ea13..8ff389bdf 100644
--- a/newlib/libc/sys/arm/_nmi_isr.c
+++ b/newlib/libc/sys/arm/_nmi_isr.c
@@ -1,16 +1,12 @@
#include "newlib.h"
-#ifdef _ARM_V7M
-
/* Called when a non-maskable interrupt occurs. Users can replace this
function. */
-void
+void
_nmi_isr()
{
/* Sit an endless loop so that the user can analyze the situation
from the debugger. */
while (1);
}
-
-#endif