Skip to content

Create resource_table section for stm32mp1 when CONFIG_CMAKE_LINKER_GENERATOR=y #43206

@tejlmand

Description

@tejlmand

Is your enhancement proposal related to a problem? Please describe.
The stm32mp1 SoC uses a custom linker.ld that creates an extra section resource_table.

#ifdef CONFIG_OPENAMP_RSC_TABLE
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
{
KEEP(*(.resource_table*))
} GROUP_LINK_IN(ROMABLE_REGION)
#endif

However, when using CONFIG_CMAKE_LINKER_GENERATOR=y that section is not created.

Describe the solution you'd like
The resource_table should be created when using CONFIG_CMAKE_LINKER_GENERATOR=y.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions