summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spstkalloc02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spstkalloc02/init.c')
-rw-r--r--testsuites/sptests/spstkalloc02/init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/sptests/spstkalloc02/init.c b/testsuites/sptests/spstkalloc02/init.c
index 5e5db20f0f..3613a6a563 100644
--- a/testsuites/sptests/spstkalloc02/init.c
+++ b/testsuites/sptests/spstkalloc02/init.c
@@ -138,6 +138,13 @@ static rtems_task Init(rtems_task_argument argument)
*/
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+/*
+ * This test requires full control over the present thread-local objects. This
+ * is necessary for the custom stack allocator below. In certain Newlib
+ * configurations, the Newlib reentrancy support may add thread-local objects.
+ */
+#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
+
#define CONFIGURE_MAXIMUM_TASKS TASK_COUNT
#define CONFIGURE_TASK_STACK_ALLOCATOR_INIT task_stack_init