17.8 Module-Definition Files

You can create a module-definition file for an application. A module-definition file is a text file that contains statements that give directions to the linker. These statements can alter the attributes of individual segments—for example, whether multiple instances of the program share data. Module-definition files are optional. If you use one, begin the file with the NAME statement. The following sample module-definition file specifies an application, MYPROG, that shares the CONSTDAT segment:

NAME MYPROG

SEGMENTS CONSTDAT SHARED