[rtems commit] psxfile01: 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: 655108e416e99152f9a31a1a5910a3ad7b973d2b
Changeset: http://git.rtems.org/rtems/commit/?id=655108e416e99152f9a31a1a5910a3ad7b973d2b
Author: Daniel Hellstrom <daniel at gaisler.com>
Date: Thu Jun 28 14:43:38 2018 +0200
psxfile01: floating point context required when calling fprintf
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>
More information about the vc
mailing list