Commit 05bdd419 authored by Kumar Gala's avatar Kumar Gala Committed by Fabio Baltieri
Browse files

linker: Add missing rom iterable sections

Add missing users of ITERABLE_SECTION_ROM* macros that should exist
in common-rom.cmake so that linker script generation for arm clang
works for those users.

Signed-off-by: default avatarKumar Gala <kumar.gala@intel.com>
(cherry picked from commit ddddfd5e)
parent a413244f
Loading
Loading
Loading
Loading
+8 −0
Changes for cmake/linker_script/common/common-rom.cmake: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -183,3 +183,11 @@ zephyr_linker_section_configure(SECTION device_handles INPUT .__device_handles_p
zephyr_linker_section_configure(SECTION device_handles INPUT .__device_handles_pass2* KEEP SORT NAME PASS NOT LINKER_DEVICE_HANDLES_PASS1)

zephyr_iterable_section(NAME _static_thread_data KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)

if (CONFIG_BT_IAS)
  zephyr_iterable_section(NAME bt_ias_cb KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
endif()

if (CONFIG_LOG)
  zephyr_iterable_section(NAME log_link KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
endif()