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.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_aligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_unaligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common-ram.ld linker: add iterable section macros 2020-06-24 17:09:22 -04:00
common-rom.ld linker: add iterable section macros 2020-06-24 17:09:22 -04:00
cplusplus-ram.ld linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
cplusplus-rom.ld linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
debug-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
intlist.ld zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
kobject-rom.ld kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
kobject-text.ld linker: kobject-text.ld: avoid backwards location counter 2019-05-23 06:59:14 -04:00
kobject.ld kernel: delete separate logic for priv stacks 2020-03-17 20:11:27 +02:00
linker-defs.h linker: add iterable section macros 2020-06-24 17:09:22 -04:00
linker-tool-gcc.h arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
linker-tool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
rel-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
section_tags.h linker: Clean up section name definitions 2020-04-30 13:42:36 -04:00
sections.h linker: Clean up section name definitions 2020-04-30 13:42:36 -04:00