SPRUIG8J January 2018 – March 2024
The next section of the XML link information file contains a specification of all of the object components that are involved in the link. An example of an object component is an input section. In general, an object component is the smallest piece of object that can be manipulated by the linker.
The <object_component_list> is a container element enclosing any number of <object_component> elements.
Each <object_component> specifies a single object component. Each <object_component> has an id attribute so that it can be referenced directly from other elements, such as a <logical_group>. An <object_component> is a container element enclosing the following elements:
<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>