I have found a number of problems that shows up for CONFIG_USERSPACE,
but may ake effect even without it.
* Output the x_init block even if x dont have any content. This is
rather common if you have sections guarded with PASS.
* Put KEEP on init-blocks. To circumvent peculiarities in ilink,
the _init blocks (as well as their content) needs to be tagged
with keep.
* Handle noinit linker sections. zephyr_linker_section( NOINIT )
has been ignored so far. This change fixes that and puts it as
do not initialize { }
Signed-off-by: Björn Bergman <bjorn.bergman@iar.com>
|
||
|---|---|---|
| .. | ||
| arcmwdt | ||
| armlink | ||
| iar | ||
| ld | ||
| lld | ||
| xt-ld | ||
| linker_flags_template.cmake | ||
| linker_libraries_native.cmake | ||
| linker_libraries_template.cmake | ||
| linker_script_common.cmake | ||
| target_template.cmake | ||