This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: .const section is not aligned as specified in link command file

Part Number: TMS320F28388D

Tool/software:

Hello, Experts

I've set the section, .const, aligned on a 16-byte boundary as below.

Fullscreen
1
.const : > CMBANK0_SECTOR9_13, ALIGN(16)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

But I found that the section didn't be made with align(16) in the map file below.

Contrary to what I expected, The length of the section is 0x1C23, and it is not aligned to16-byte alignment.

Actually I want to align the .const section on a 16-byte boundary, such as 0x1C30, instead of 0x1C23.

 

Fullscreen
1
.const 0 00275d00 00001c23
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Why does this happen? How can I make the section algiend on a 16-byte boundary?

Thansks,

Best Regards.