[PATCH] psxfile01: floating point context required when calling fprintf
Daniel Hellstrom
daniel at gaisler.com
Fri Aug 24 13:32:47 UTC 2018
This avoids an exception (FP disabled) when RTEMS/Newlib have
been built with LLVM/Sparc.
---
testsuites/psxtests/psxfile01/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testsuites/psxtests/psxfile01/main.c b/testsuites/psxtests/psxfile01/main.c
index c634082..5ccdd6b 100644
--- a/testsuites/psxtests/psxfile01/main.c
+++ b/testsuites/psxtests/psxfile01/main.c
@@ -44,6 +44,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