Currently when a node has a 'zephyr,memory-region' compatible and a 'zephyr,memory-region' string property, a new memory region is created in the linker script. Having a memory region without a section to place variables in could be not that useful. With this patch we extend the memory-region mechanism to also create sections. The user can then place variables in the sections as usual by using for example the GCC attributes. Signed-off-by: Carlo Caione <ccaione@baylibre.com> |
||
|---|---|---|
| .. | ||
| app_smem_aligned.ld | ||
| app_smem_pinned_aligned.ld | ||
| app_smem_pinned_unaligned.ld | ||
| app_smem_pinned.ld | ||
| app_smem_unaligned.ld | ||
| app_smem.ld | ||
| common-noinit.ld | ||
| common-ram.ld | ||
| common-rom.ld | ||
| cplusplus-ram.ld | ||
| cplusplus-rom.ld | ||
| debug-sections.ld | ||
| devicetree_regions.h | ||
| devicetree_reserved.h | ||
| intlist.ld | ||
| kobject-data.ld | ||
| kobject-priv-stacks.ld | ||
| kobject-rom.ld | ||
| kobject-text.ld | ||
| linker-defs.h | ||
| linker-tool-gcc.h | ||
| linker-tool-mwdt.h | ||
| linker-tool.h | ||
| rel-sections.ld | ||
| section_tags.h | ||
| sections.h | ||
| thread-local-storage.ld | ||
| utils.h | ||