The gperf generated data needs to be placed at the end of memory to avoid pushing symbols around in memory, but data in .sdata section aren't placed currently. Also renaming .sdata section to kobject_data.* section and add it to kobject_data output section to fix issue. Fixes #37023. Signed-off-by: Jim Shu <cwshu@andestech.com> |
||
|---|---|---|
| .. | ||
| app_smem_aligned.ld | ||
| app_smem_unaligned.ld | ||
| app_smem.ld | ||
| common-noinit.ld | ||
| common-ram.ld | ||
| common-rom.ld | ||
| cplusplus-ram.ld | ||
| cplusplus-rom.ld | ||
| debug-sections.ld | ||
| devicetree_regions.h | ||
| devicetree_reserved.h | ||
| intlist.ld | ||
| kobject-data.ld | ||
| kobject-priv-stacks.ld | ||
| kobject-rom.ld | ||
| kobject-text.ld | ||
| linker-defs.h | ||
| linker-tool-gcc.h | ||
| linker-tool-mwdt.h | ||
| linker-tool.h | ||
| rel-sections.ld | ||
| section_tags.h | ||
| sections.h | ||
| thread-local-storage.ld | ||