zephyr/include/toolchain
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
..
common.h linker: add iterable section macros 2020-06-24 17:09:22 -04:00
gcc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
xcc.h toolchain: xcc: use Clang if exists 2020-01-07 17:09:38 +01:00
xcc_missing_defs.h toolchain/xcc: augment compiler provided macros to match gcc and clang 2019-07-03 06:09:16 -04:00
zephyr_stdint.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00