Some notes on pre-linking ========================= These are notes for advanced users who wish to exploit the pre-linkage features available from CLink when driven from a command line or WITH file. Pre-linking is similar to a normal link, however instead of producing the five load sections: text, far data, near data, near bss and far bss, it coalesces only identically named and typed sections. If a section is unnamed then it is merged with the first named section of the same type. For each section of a given type the name, if the first section created is unnamed, is that of the first named section merged subsequently. Note that the special name __MERGED is considered a 'type' and hence only sections named __MERGED will be coalesced with __MERGED sections. With the 5.06 release of the compiler, section names are by default omitted apart from the __MERGED section where the only method of identifying this 'type' is via its name. Note that use of the -s compiler option allows careful ordering of the sections so that you can minimise ALVs, or produce other clever effects. One program which uses these features extensively is the HiSoft Screen Editor. When pre-linking ALVs are applied according to the normal rules, i.e ALVs will be generated for out of range in section branches, and *all* cross-section references, note the definition of cross-section according to rules above.