Skip to content
Commit c3c026e0 authored by Daniel Baluta's avatar Daniel Baluta Committed by Anas Nashif
Browse files

arch/xtensa: adsp: Rename module_init section



.module_init sections is used to keep all components constructor
functions.

Zephyr uses -ffunction-sections option which will create a section for
each function. Unfortunately, this creates a section named .module_init
for the function module_init() used to initialize the processing module
generic layer.

Thus, places module_init() in the constructor area named .module_init
which is wrong.

To avoid this we rename .module_init section for constructors to
.initcall.

Signed-off-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
parent fb2a9661
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment