格式
section [address] [(type)] :
[AT(lma)]
[ALIGN(section_align) | ALIGN_WITH_INPUT]
[SUBALIGN(subsection_align)]
[constraint]
{
output-section-command
output-section-command
…
} [>region] [AT>lma_region] [:phdr :phdr …] [=fillexp] [,]
其中,output-section-command可以是以下几种:
符号赋值
- 简单赋值
- 待续待续
- 参考网址https://sourceware.org/binutils/docs/ld/Output-Section-Description.html