zephyr/cmake/linker
Torsten Rasmussen 57ab0342d3 cmake: linker generator: group symbol from section
The root cause of #38591 was region symbols being placed before the
section description for data region.

Some region start symbols are placed before section description, other
region start symbols are placed inside the first section in the region
and thus identical to the sections own first symbol.

To support both schemes with the linker generator, a new
`SYMBOL SECTION` argument has been added to the zephyr_linker_group()
function.

The ld_script.cmake linker script generator has been updated to support
the new argument so that generated ld linker script has identical
behavior to the templated ld linker scripts.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-09-24 15:13:13 -04:00
..
arcmwdt ARC: MWDT: get rid of MWDT startup libs 2021-09-01 17:08:32 -04:00
armlink armclang: armlinker: armlink symbol steering file 2021-08-30 08:54:23 -04:00
ld cmake: linker generator: group symbol from section 2021-09-24 15:13:13 -04:00
lld scripts: gen_handles.py: take device start symbol as argument. 2021-08-30 08:54:23 -04:00
linker_flags_template.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00
linker_script_common.cmake cmake: linker generator: group symbol from section 2021-09-24 15:13:13 -04:00