DLL Programmer's Guide for TNS/E Systems
Advanced DLL Facility Controls
DLL Programmer’s Guide for TNS/E Systems—527252-006
5-8
Controlling the Load Image of DLLs
bound to this definition and either a message is put out if warn is set or no
message is put out if ignore is set.
By default, the loader finds this function defined in the system library. If invoked, it
generates a non-deferrable SIGILL signal. You can provide your own function if
you wish; the loader searches normally for this symbol, so it will use any definition
found in the searchList of the loadfile containing the unresolved reference.
runnamed
has possible values of on and off. The default is off.
saveabend
has possible values of on and off. The default is off.
space_guarantee
has a (hexadecimal) numeric value with a default of zero (0).
systype
sets the system type of the loadfile being linked. Possible values are OSS and
Guardian. See Execution-Target System Type on page 2-22.
Controlling the Load Image of DLLs
Segmenting Loadfiles
The linker produces the output loadfile in two segments, text and data.
The linker can be directed to produce two data segments - one for constant data
(the constant data segment) and one for variable data (the data variable segment).
Also, if the input linkfile contains PRIV code, the linker will also produce a gateway
segment.
Specifying the Preferred Location of a Loadfile in Virtual
Memory
The linker assigns addresses for these segments by default; you can specify non-
default values with the following options:
-t address
this is a hexadecimal number that sets the starting address of the text segment
(headers and code).
Note. The systype attribute has no meaning for a DLL. A DLL can be used by a
Guardian process, or an OSS process, or both, depending on how the various parts of it
were written and compiled. You must have this information about the DLL to use it
appropriately.










