include/linker: .object_access.* should be in ROM
.object_access.* sections should be with
GROUP_LINK_IN(ROMABLE_REGION) as other sections in
common-rom.ld
Fixes #15481
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/include/linker/common-rom.ld b/include/linker/common-rom.ld
index 86e1bef..8af037d 100644
--- a/include/linker/common-rom.ld
+++ b/include/linker/common-rom.ld
@@ -41,7 +41,7 @@
__object_access_start = .;
KEEP(*(".object_access.*"))
__object_access_end = .;
- }
+ } GROUP_LINK_IN(ROMABLE_REGION)
#endif
SECTION_PROLOGUE(app_shmem_regions,,)