summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-12 18:05:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-15 15:37:35 +0200
commitb177cfc1c96bf1d5deb57cf1de368a4d55a9eb87 (patch)
treee178c30e534499da467a621035859f2d18eb38bf /cpukit/score
parentbuild: Use objects of build context for programs (diff)
downloadrtems-b177cfc1c96bf1d5deb57cf1de368a4d55a9eb87.tar.bz2
sparc: Prefer RTEMS_FATAL_SOURCE_EXCEPTION
Prefer RTEMS_FATAL_SOURCE_EXCEPTION over INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT since the fatal code (rtems_exception_frame) provides more context.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/sparc/sparc-bad-trap.S14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/score/cpu/sparc/sparc-bad-trap.S b/cpukit/score/cpu/sparc/sparc-bad-trap.S
index 2e73a4a7da..c20a97889f 100644
--- a/cpukit/score/cpu/sparc/sparc-bad-trap.S
+++ b/cpukit/score/cpu/sparc/sparc-bad-trap.S
@@ -208,20 +208,6 @@ SYM(_SPARC_Bad_trap):
std %f30, [%l7 + SPARC_EXCEPTION_OFFSET_FP(15)]
#endif
-#if !defined(SPARC_USE_LAZY_FP_SWITCH)
- /*
- * Call
- * _Internal_error( INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT )
- * if necessary.
- */
- cmp %l3, 4
- bne .Lno_fp_disable_trap
- nop
- call SYM(_Internal_error)
- set 38, %o0
-.Lno_fp_disable_trap:
-#endif
-
/*
* Call _Terminate( RTEMS_FATAL_SOURCE_EXCEPTION, %l0 ).
*/