COHERENT manpages
This page displays the COHERENT manpage for l.out.h [Format for COHERENT 286 objects].
List of available manpages
Index
l.out.h -- Header File Format for COHERENT 286 objects #include <l.out.h> The header file l.out.h describes the l.out object format, which is produced by the compiler, assembler, and the linker under COHERENT 286. The assembler outputs an unlinked object module, which must be bound with any required libraries (leaving no unresolved symbols) to produce an executable file, or load module. A call to one of the exec routines can then execute the load module directly. The link module begins with a header, which gives global and size information about each segment. Segments of the indicated size follow the header in a fixed order. The header file l.out.h defines the header structure as follows: struct ldheader { short l_magic; short l_flag; short l_machine; unsigned short l_entry; fsize_t l_ssize[NLSEG]; }; l_magic is the magic number that identifies a link module; it always contains L_MAGIC. l_flag contains flags indicating the type of the object. l_machine is the processor identifier, as defined in the header file mtype.h. l_tbase is the start of the text segment. l_entry contains the machine address where execution of the module commences. l_ssize gives the size of each segment. Files l.out -- Default load module name <l.out.h> -- Define format of COHERENT 286 objects <mtype.h> -- Machine identifiers See Also as, cc, core, exec, ld, libc, mtype, nm Notes COHERENT 386 uses the common object file format (COFF) for its executables. See the Lexicon entry for coff.h for information on this format.