The optimizing linkage editor links the same sections within input relocatable files, and allocates addresses specified by the start option.
![](CCRX_UM_e-50.gif)
Sections with the same name but different boundary alignments are linked after alignment. Section alignment uses the larger of the section alignments. |
![](CCRX_UM_e-51.gif)
When sections with the same name include both absolute-address and relative-address formats, relative-address sections are linked following absolute-address sections. |
![](CCRX_UM_e-52.gif)
Rules for the order of linking sections with the same name are based on their priorities as follows. |
Order specified for the user library by the library option and order of input of modules within the library |
Order specified for the system library by the library option and order of input of modules within the library |
Order specified for libraries by environment variables (HLNK_LIBRARY1 to HLNK_LIBRARY3) and order of input of modules within the library |
![](CCRX_UM_e-53.gif)