diff --git a/cpukit/score/cpu/arm/armv4-exception-default.S b/cpukit/score/cpu/arm/armv4-exception-default.S index 75523ab44d..726291494f 100644 --- a/cpukit/score/cpu/arm/armv4-exception-default.S +++ b/cpukit/score/cpu/arm/armv4-exception-default.S @@ -174,8 +174,4 @@ save_more_context: SWITCH_FROM_ARM_TO_THUMB r1 bl _ARM_Exception_default - /* Just in case */ -twiddle: - b twiddle - #endif /* ARM_MULTILIB_ARCH_V4 */ diff --git a/cpukit/score/cpu/arm/include/rtems/score/cpu.h b/cpukit/score/cpu/arm/include/rtems/score/cpu.h index 6df9d94f1c..7cdbe80fa2 100644 --- a/cpukit/score/cpu/arm/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/arm/include/rtems/score/cpu.h @@ -657,7 +657,7 @@ typedef struct { void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ); -void _ARM_Exception_default( CPU_Exception_frame *frame ); +RTEMS_NO_RETURN void _ARM_Exception_default( CPU_Exception_frame *frame ); /** Type that can store a 32-bit integer or a pointer. */ typedef uintptr_t CPU_Uint32ptr;