Hello,
New problem wtih .icf file. I use "last section" instruction to place the one section at the end of liste of sections.
This instruction place the code at the end of list but the .segger.* section is always after.
Display All
I wanted to get around th problem encountered in this thread forum.segger.com/index.php/Thr…ent-is-ignored-by-linker/.
I just need my elf file to be 16 bytes aligned but it seems impossible.
Thank you for your replys.
New problem wtih .icf file. I use "last section" instruction to place the one section at the end of liste of sections.
This instruction place the code at the end of list but the .segger.* section is always after.
Source Code: Flash.icf
- define section .aes_block_padding with alignment=16 {};
- place in FLASH with fixed order { section .init, section .init.*, // Init code section
- section .init_rodata, section .init_rodata.*, // Init read-only section
- section .text, section .text.*, // Code section
- section .rodata, section .rodata.*, // Read-only data section
- section .segger.*, // Auto-generated initialization
- block exidx, // ARM exception unwinding block
- block ctors, // Constructors block
- block dtors, // Destructors block
- last section .block_padding
- };
I just need my elf file to be 16 bytes aligned but it seems impossible.
Thank you for your replys.
Hardware and Software Developer.