DLL Programmer's Guide for TNS/R Systems
Essential DLL Facility Controls
DLL Programmer’s Guide for TNS/R Systems—522203-002
2-21
Linker Default Operation
2. The archives that contain linkfiles that resolve symbols your loadfile needs.
3. The libraries that resolve symbols your loadfile needs.
Also, you may run a link in a situation where you know certain needed libraries are
missing, and you may not want the linker to issue the consequent diagnostics. In that
case, insert the -allow_missing_libs option.
Linker Default Operation
When executing the options specified in this section, the linker automatically follows its
designed default modes. These are listed below, along with references, in square
brackets, to subsections that tell how to manually affect these behaviors.
1. By default, the linker builds a loadfile.
2. The linker builds a loadfile that is, by default, a program. [Choosing to Create a
Program or a DLL on page 2-3]
3. The linker builds a loadfile that is, by default, localized. [Import Controls and
SearchLists on page 4-5]
4. By default, the linker uses only the linkfiles from an archive that resolve currently
unresolved symbols. [Selecting Linkfiles from Archives on page 2-6]
5. By default, the linker exports those symbols for which your compiler sets the
xport bit in the external symbol table. [Controlling Which Symbols Your Loadfile
Exports on page 5-5]
6. The linker builds a loadfile that, by default, re-exports no other DLLs. [How to Make
Your Loadfile Re-export Symbols of Other DLLs on page 2-13]
7. If you specify an output file for the DLL you are linking but no DLL name, the linker
gives the resulting DLL the same name as the file. [Naming DLLs on page 2-3]
8. If you specify a DLL name for the DLL you are linking but no output file, the linker
gives the output file the same name as the DLL. [Naming DLLs on page 2-3]
9. If you specify neither a DLL name nor an output file for the DLL you are linking, the
linker gives them both the same name, as defined in Naming DLLs on page 2-3.
10. By default, the linker sets the system type of your loadfile as defined in Execution-
Target System Type on page 2-20. [How to Set Run-Time Attributes of Your
Loadfile on page 5-5.]
Linker and Loader Errors
Linker errors described in this document cause the link to terminate with all the files
involved in the link left as they were before the link started. Fatal loader errors cause
the load operation to abort, but has no effect on other system operation.