ZHCUAU3J January 2018 – March 2024
XML 链接信息文件的 <logical_group_list> 段类似于由链接器生成的映射文件中的输出段。但是,XML 链接信息文件包含 GROUP 和 UNION 输出段的规范,而映射文件中没有规范。<logical_group_list> 中会出现三种类型的列表项:
<logical_group_list>
...
<logical_group id="lg-7">
<name>.text</name>
<output_section_group>true</output_section_group>
<load_address>0x20</load_address>
<run_address>0x20</run_address>
<size>0xb240</size>
<contents>
<object_component_ref idref="oc-34"/>
<object_component_ref idref="oc-108"/>
<object_component_ref idref="oc-e2"/>
...
</contents>
</logical_group>
...
<overlay id="lg-b">
<name>UNION_1</name>
<run_address>0xb600</run_address>
<size>0xc0</size>
<contents>
<object_component_ref idref="oc-45"/>
<logical_group_ref idref="lg-8"/>
</contents>
</overlay>
...
<split_section id="lg-12">
<name>.task_scn</name>
<size>0x120</size>
<contents>
<logical_group_ref idref="lg-10"/>
<logical_group_ref idref="lg-11"/>
</contents>
</split_section>
...
</logical_group_list>