diff options
Diffstat (limited to 'c_user/linker_sets.rst')
-rw-r--r-- | c_user/linker_sets.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c_user/linker_sets.rst b/c_user/linker_sets.rst index 51dfd78..a0eb4fd 100644 --- a/c_user/linker_sets.rst +++ b/c_user/linker_sets.rst @@ -78,11 +78,11 @@ section descriptions. /* To be placed in a read-only memory region */ .rtemsroset : { - KEEP (\*(SORT(.rtemsroset.*))) + KEEP (*(SORT(.rtemsroset.*))) } /* To be placed in a read-write memory region */ .rtemsrwset : { - KEEP (\*(SORT(.rtemsrwset.*))) + KEEP (*(SORT(.rtemsrwset.*))) } The ``KEEP()`` ensures that a garbage collection by the linker will not discard @@ -509,7 +509,7 @@ enum in ``XYZ_ITEM()``). #define XYZ_ITEM( item, order ) \ enum { xyz_##item = order - order }; \ RTEMS_LINKER_RWSET_ITEM_ORDERED( \ - xyz, const xyz_item \*, item, order \ + xyz, const xyz_item *, item, order \ ) = { &item } /* Example item */ static const xyz_item some_item = { 123 }; |