|
55 | 55 | * are indirectly referenced by iterating through the section.
|
56 | 56 | */
|
57 | 57 | #define ITERABLE_SECTION_ROM(struct_type, subalign) \
|
58 |
| - SECTION_PROLOGUE(struct_type##_area,,SUBALIGN(subalign)) \ |
| 58 | + SECTION_PROLOGUE(struct_type##_area,,) \ |
59 | 59 | { \
|
60 | 60 | Z_LINK_ITERABLE(struct_type); \
|
61 | 61 | } GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
70 | 70 | * @see ITERABLE_SECTION_ROM()
|
71 | 71 | */
|
72 | 72 | #define ITERABLE_SECTION_ROM_NUMERIC(struct_type, subalign) \
|
73 |
| - SECTION_PROLOGUE(struct_type##_area, EMPTY, SUBALIGN(subalign)) \ |
| 73 | + SECTION_PROLOGUE(struct_type##_area, EMPTY,) \ |
74 | 74 | { \
|
75 | 75 | Z_LINK_ITERABLE_NUMERIC(struct_type); \
|
76 | 76 | } GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
88 | 88 | * Note that the symbols within the section can be garbage collected.
|
89 | 89 | */
|
90 | 90 | #define ITERABLE_SECTION_ROM_GC_ALLOWED(struct_type, subalign) \
|
91 |
| - SECTION_PROLOGUE(struct_type##_area,,SUBALIGN(subalign)) \ |
| 91 | + SECTION_PROLOGUE(struct_type##_area,,) \ |
92 | 92 | { \
|
93 | 93 | Z_LINK_ITERABLE_GC_ALLOWED(struct_type); \
|
94 | 94 | } GROUP_LINK_IN(ROMABLE_REGION)
|
|
108 | 108 | * are indirectly referenced by iterating through the section.
|
109 | 109 | */
|
110 | 110 | #define ITERABLE_SECTION_RAM(struct_type, subalign) \
|
111 |
| - SECTION_DATA_PROLOGUE(struct_type##_area,,SUBALIGN(subalign)) \ |
| 111 | + SECTION_DATA_PROLOGUE(struct_type##_area,,) \ |
112 | 112 | { \
|
113 | 113 | Z_LINK_ITERABLE(struct_type); \
|
114 | 114 | } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
123 | 123 | * @see ITERABLE_SECTION_RAM()
|
124 | 124 | */
|
125 | 125 | #define ITERABLE_SECTION_RAM_NUMERIC(struct_type, subalign) \
|
126 |
| - SECTION_PROLOGUE(struct_type##_area, EMPTY, SUBALIGN(subalign)) \ |
| 126 | + SECTION_PROLOGUE(struct_type##_area, EMPTY,) \ |
127 | 127 | { \
|
128 | 128 | Z_LINK_ITERABLE_NUMERIC(struct_type); \
|
129 | 129 | } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
141 | 141 | * Note that the symbols within the section can be garbage collected.
|
142 | 142 | */
|
143 | 143 | #define ITERABLE_SECTION_RAM_GC_ALLOWED(struct_type, subalign) \
|
144 |
| - SECTION_DATA_PROLOGUE(struct_type##_area,,SUBALIGN(subalign)) \ |
| 144 | + SECTION_DATA_PROLOGUE(struct_type##_area,,) \ |
145 | 145 | { \
|
146 | 146 | Z_LINK_ITERABLE_GC_ALLOWED(struct_type); \
|
147 | 147 | } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
0 commit comments