[rtems commit] psx13: floating point context required when calling fprintf

Daniel Hellstrom danielh at rtems.org
Fri Aug 24 13:53:12 UTC 2018


Module:    rtems
Branch:    master
Commit:    26c3f9f5760702939106ba5aaf3a5936d7450424
Changeset: http://git.rtems.org/rtems/commit/?id=26c3f9f5760702939106ba5aaf3a5936d7450424

Author:    Daniel Hellstrom <daniel at gaisler.com>
Date:      Thu Jun 28 14:42:11 2018 +0200

psx13: floating point context required when calling fprintf

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>



More information about the vc mailing list