zephyr/include/linker
Andrew Boie 45979dafb4 linker: add iterable section macros
For iterable areas defined with Z_STRUCT_SECTION_ITERABLE(),
the corresponding output section in the linker script is just
boilerplate. Add macros to make these definitions simpler.

Unfortunately, we have a fair number of iterable sections not
defined with Z_STRUCT_SECTION_ITERABLE(), this patch does not
address this.

The output sections are all named <struct name>_area, update
sanitylib.py with this.

sys_sem with no userspace, and k_lifo/k_fifo are special cases
where different data types that are all equivalent need to be
put in the same iterable area. Add
Z_STRUCT_SECTION_ITERABLE_ALTERNATE() for this special case.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-06-24 17:09:22 -04:00
..
app_smem_aligned.ld
app_smem_unaligned.ld
app_smem.ld
common-ram.ld
common-rom.ld
cplusplus-ram.ld
cplusplus-rom.ld
debug-sections.ld
intlist.ld
kobject-rom.ld
kobject-text.ld
kobject.ld
linker-defs.h
linker-tool-gcc.h
linker-tool.h
rel-sections.ld
section_tags.h
sections.h