summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2018-06-28 14:43:38 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2018-08-24 15:51:39 +0200
commit655108e416e99152f9a31a1a5910a3ad7b973d2b (patch)
tree83999138b6f8c4aa839e025f64b59d74ff4e08c9
parentpsx13: floating point context required when calling fprintf (diff)
downloadrtems-655108e416e99152f9a31a1a5910a3ad7b973d2b.tar.bz2
psxfile01: floating point context required when calling fprintf
This avoids an exception (FP disabled) when RTEMS/Newlib have been built with LLVM/Sparc.
-rw-r--r--testsuites/psxtests/psxfile01/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxfile01/main.c b/testsuites/psxtests/psxfile01/main.c
index c634082a4a..5ccdd6b7c7 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>