diff options
author | Paul Brook <paul@codesourcery.com> | 2006-08-30 02:05:40 +0400 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-08-30 02:05:40 +0400 |
commit | 83cc5b75d985be0f77fafa46a13a74db6b453a12 (patch) | |
tree | 3cdead3daa050b5f12c23838424b6e4a7998c662 /newlib | |
parent | 975f7bea95b0d7294ec33a6eedb6c2736ecae3a1 (diff) |
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.c | 6 | ||||
-rw-r--r-- | newlib/libc/sys/arm/_nmi_isr.c | 6 |
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 |