summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-23 20:01:43 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-23 20:03:56 +0100
commit70c34fb58c1d609010b4d668b7c7527a844ec455 (patch)
tree0945b99e3b40be2fc6058445ccf6e32cb4423b9b /testsuites/sptests
parentbsps/shared: Build fsl-edma only for certain BSP (diff)
downloadrtems-70c34fb58c1d609010b4d668b7c7527a844ec455.tar.bz2
splinkersets01: Fix declaration
GCC 11 produced warnings like this: items.c:21:1: warning: ignoring attribute 'section (".rtemsrwset.test_rw.content.0.1")' because it conflicts with previous 'section (".rtemsrwset.test_rw.content.1")' [-Wattributes] items.c:23:1: warning: ignoring attribute 'section (".rtemsroset.test_ro.content.0.OC")' because it conflicts with previous 'section (".rtemsroset.test_ro.content.1")' [-Wattributes]
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/splinkersets01/splinkersets01.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/splinkersets01/splinkersets01.h b/testsuites/sptests/splinkersets01/splinkersets01.h
index 10b4670072..1133fce388 100644
--- a/testsuites/sptests/splinkersets01/splinkersets01.h
+++ b/testsuites/sptests/splinkersets01/splinkersets01.h
@@ -33,9 +33,9 @@ RTEMS_LINKER_RWSET_DECLARE(test_content_rw, char);
RTEMS_LINKER_ROSET_DECLARE(test_content_ro, char);
-RTEMS_LINKER_RWSET_ITEM_DECLARE(test_rw, const int *, a1);
+RTEMS_LINKER_RWSET_ITEM_ORDERED_DECLARE(test_rw, const int *, a1, 1);
-RTEMS_LINKER_ROSET_ITEM_DECLARE(test_ro, const int *, ca2);
+RTEMS_LINKER_ROSET_ITEM_ORDERED_DECLARE(test_ro, const int *, ca2, OC);
RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern int content_rw_1);
RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern char content_rw_2);