summaryrefslogtreecommitdiffstats
path: root/newlib
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 /newlib
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.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/sys/arm/_fault_isr.c6
-rw-r--r--newlib/libc/sys/arm/_nmi_isr.c6
2 files changed, 2 insertions, 10 deletions
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