The optimizing linkage editor links the same sections within input relocatable files, and allocates addresses specified by the start option.
Sections with the same name but different boundary alignments are linked after alignment. Section alignment uses the larger of the section alignments. |
When sections with the same name include both absolute-address and relative-address formats, relative-address sections are linked following absolute-address sections. |
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 |