summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/splinkersets01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/splinkersets01')
-rw-r--r--testsuites/sptests/splinkersets01/content.c (renamed from testsuites/sptests/splinkersets01/items.c)4
-rw-r--r--testsuites/sptests/splinkersets01/item-a.c21
-rw-r--r--testsuites/sptests/splinkersets01/item-ca.c21
3 files changed, 42 insertions, 4 deletions
diff --git a/testsuites/sptests/splinkersets01/items.c b/testsuites/sptests/splinkersets01/content.c
index 3072c64a7a..4de2827575 100644
--- a/testsuites/sptests/splinkersets01/items.c
+++ b/testsuites/sptests/splinkersets01/content.c
@@ -18,10 +18,6 @@
#include "splinkersets01.h"
-RTEMS_LINKER_RWSET_ITEM_ORDERED(test_rw, const int *, a1, 1) = &a[1];
-
-RTEMS_LINKER_ROSET_ITEM_ORDERED(test_ro, const int *, ca2, OC) = &ca[2];
-
int content_rw_1;
char content_rw_2;
char content_rw_3;
diff --git a/testsuites/sptests/splinkersets01/item-a.c b/testsuites/sptests/splinkersets01/item-a.c
new file mode 100644
index 0000000000..30f81bf776
--- /dev/null
+++ b/testsuites/sptests/splinkersets01/item-a.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2015, 2016 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "splinkersets01.h"
+
+RTEMS_LINKER_RWSET_ITEM_ORDERED(test_rw, const int *, a1, 1) = &a[1];
diff --git a/testsuites/sptests/splinkersets01/item-ca.c b/testsuites/sptests/splinkersets01/item-ca.c
new file mode 100644
index 0000000000..23937db925
--- /dev/null
+++ b/testsuites/sptests/splinkersets01/item-ca.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2015, 2016 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "splinkersets01.h"
+
+RTEMS_LINKER_ROSET_ITEM_ORDERED(test_ro, const int *, ca2, OC) = &ca[2];