< Optimizing Linkage Editor (rlink) Options / Section Options >
-start = <sub> [,...] <sub>: [(] <section name> [{ : | , } <section name> [,...] ] [)] [,...] [ / <address>] |
The section is allocated at 0.
The section name can be specified with wildcards "*". Sections specified with wildcards are expanded according to the input order. |
Two or more sections can be allocated to the same address (i.e., sections are overlaid) by separating them with a colon ":". |
Objects in a single section are allocated in the specification order of the input file or the input library. |
A section which is not specified with the start option is allocated after the last allocation address. |
This example shows how sections are allocated when the objects are input in the following order (names enclosed by parentheses are sections in the objects).
Sections specified with wildcards "*" (in this example, the sections whose names start with D) are allocated in the input order. |
An input library's section having the same name (E in this example) as those of input objects is allocated after the input objects. |
The sections that come immediately after the colons (A, D2, and G in this example) are selected as the start and allocated to the same address. |
When the sections to be allocated to the same address are enclosed by parentheses, the sections within parentheses are allocated to the address immediately after the sections that come before the parentheses (C and E in this example). |
The section that comes after the parentheses (E in this example) is allocated after the last of the sections enclosed by the parentheses. |
One or more colons must be written within parentheses. Parentheses cannot be written without a colon. |