diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-23 20:01:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-23 20:03:56 +0100 |
commit | 70c34fb58c1d609010b4d668b7c7527a844ec455 (patch) | |
tree | 0945b99e3b40be2fc6058445ccf6e32cb4423b9b /testsuites/sptests | |
parent | bsps/shared: Build fsl-edma only for certain BSP (diff) | |
download | rtems-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.h | 4 |
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); |