[PATCH] psx13: floating point context required when calling fprintf

Daniel Hellstrom daniel at gaisler.com
Fri Aug 24 13:32:46 UTC 2018


This avoids an exception (FP disabled) when RTEMS/Newlib have
been built with LLVM/Sparc.
---
 testsuites/psxtests/psx13/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuites/psxtests/psx13/main.c b/testsuites/psxtests/psx13/main.c
index aee8b78..05909a2 100644
--- a/testsuites/psxtests/psx13/main.c
+++ b/testsuites/psxtests/psx13/main.c
@@ -43,6 +43,8 @@ rtems_task Init(
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
 #define CONFIGURE_INIT
 
 #include <rtems/confdefs.h>
-- 
2.7.4



More information about the devel mailing list