We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,I need to sort address and size aligned symbols in the memory section by descending size using ARM Compiler scatter file.In GNU toolchain this is easily achieved by using SORT_BY_ALIGNMENT keyword in the linker script.
In ARM compiler scatter file the memory section looks as below:
SRAM_SORTED +0 ALIGN 0x1000 UNINIT { *(.bss.*sorted_*) }
In armlink user guide there are options like --any_sort_order and SORTTYPE, which do not produce descending size sorting for the section though.
Please, suggest what should be the configuration for the linker to produce the needed result?