How to do the following kind of alignment in arm scatter file
.sram : { . = ALIGN(8); *(.standby_data) . = ALIGN(8); . = ALIGN(16);*(.bss) *(.bss*) . = ALIGN(16); *(.mcal_bss) . = ALIGN(4); } > int_sram
above code shows aligning location counter in gnu linker, how to do this in arm scatter file?
in execution region sram loaded in load region int_sram
You can only specify alignment on execution region boundaries. You could place a sequence of regions containing each component as needed, with base address as +0.
https://developer.arm.com/documentation/101754/0622/armlink-Reference/Scatter-File-Syntax/Expression-evaluation-in-scatter-files/AlignExpr-expr--align--function
Is it with java programming language API's class and methods interface package on ARM processors and ARM Compilers and ARM Computers Environment Platforms