diff options
-rw-r--r-- | ChangeLog.csl | 6 | ||||
-rw-r--r-- | newlib/libc/sys/arm/_fault_isr.c | 6 | ||||
-rw-r--r-- | newlib/libc/sys/arm/_nmi_isr.c | 6 |
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 |