Browse Source

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: Kumar Gala <kumar.gala@intel.com>
pull/56520/head
Kumar Gala 2 years ago committed by Carles Cufí
parent
commit
ddddfd5e88
  1. 20
      cmake/linker_script/common/common-rom.cmake

20
cmake/linker_script/common/common-rom.cmake

@ -193,3 +193,23 @@ zephyr_linker_section_configure(SECTION device_handles INPUT .__device_handles_p @@ -193,3 +193,23 @@ 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()
if (CONFIG_HTTP_SERVER)
zephyr_iterable_section(NAME http_service_desc KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
endif()
if(CONFIG_INPUT)
zephyr_iterable_section(NAME input_listener KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
endif()
if(CONFIG_USBD_MSC_CLASS)
zephyr_iterable_section(NAME usbd_msc_lun KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
endif()

Loading…
Cancel
Save