ZHCUAU3J January 2018 – March 2024
XML 链接信息文件的下一个段包含链接中涉及的所有对象组件的规格。对象组件的一个示例是输入段。通常,对象组件是链接器可以操作的最小对象元素。
<object_component_list> 是一个包含任意数量的 <object_component> 元素的容器元素。
每个 <object_component> 指定一个对象组件。每个 <object_component> 都有一个 ID 属性,可以由其他元素(例如 <logical_group>)直接引用。<object_component> 是包含以下元素的容器元素:
<object_component id="oc-20">
<name>.text</name>
<load_address>0xac00</load_address>
<run_address>0xac00</run_address>
<alignment>0x1</alignment>
<size>0xc0</size>
<readonly>true</readonly>
<executable>false</executable>
<input_file_ref idref="fl-4"/>
</object_component>
<object_component id="oc-21">
<name>.data</name>
<load_address>0x80000000</load_address>
<run_address>0x80000000</run_address>
<alignment>0x1</alignment>
<size>0x0</size>
<readwrite>true</readwrite>
<input_file_ref idref="fl-4"/>
</object_component>
<object_component id="oc-22">
<name>.bss</name>
<load_address>0x80000000</load_address>
<run_address>0x80000000</run_address>
<alignment>0x1</alignment>
<size>0x0</size>
<readwrite>true</readwrite>
<uninitialized>true</uninitialized>
<input_file_ref idref="fl-4"/>
</object_component>