summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-08 11:16:50 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 17:05:10 +0100
commit4344d4b37372d49a7f41bfc1f0549056bb0d96c1 (patch)
tree608282f1c33d6f79e3eccc9aff5a4b98d49a85e0
parent4e8e020a04b8a5418634e8a51b956eefc64f0228 (diff)
testsuites/validation/tr-fatal-too-large-tls-size.c
-rw-r--r--testsuites/validation/tr-fatal-too-large-tls-size.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/validation/tr-fatal-too-large-tls-size.c b/testsuites/validation/tr-fatal-too-large-tls-size.c
index 87d8336b88..d285f48d3a 100644
--- a/testsuites/validation/tr-fatal-too-large-tls-size.c
+++ b/testsuites/validation/tr-fatal-too-large-tls-size.c
@@ -99,6 +99,10 @@ typedef struct {
static AcfgValFatalTooLargeTlsSize_Context
AcfgValFatalTooLargeTlsSize_Instance;
+static volatile _Thread_local uint8_t large_tls_object[ RTEMS_TASK_STORAGE_ALIGNMENT + 1 ];
+
+static volatile bool shall_not_load_the_value;
+
static T_fixture AcfgValFatalTooLargeTlsSize_Fixture = {
.setup = NULL,
.stop = NULL,
@@ -107,10 +111,6 @@ static T_fixture AcfgValFatalTooLargeTlsSize_Fixture = {
.initial_context = &AcfgValFatalTooLargeTlsSize_Instance
};
-static volatile _Thread_local uint8_t large_tls_object[ RTEMS_TASK_STORAGE_ALIGNMENT + 1 ];
-
-static volatile bool shall_not_load_the_value;
-
/**
* @brief The test action is carried out by providing a thread-local storage
* object of sufficient size with respect to the application configuration of