17.01.2015 Views

Relocatable Object Module Format (OMF) Specification

Relocatable Object Module Format (OMF) Specification

Relocatable Object Module Format (OMF) Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Relocatable</strong> <strong>Object</strong> <strong>Module</strong> <strong>Format</strong><br />

88H LNKDIR—Microsoft C++ Directives Record (Comment Class A0, Subtype 05)<br />

Description<br />

This record is used by the compiler to pass directives and flags to the linker.<br />

History<br />

This comment class and subtype is a Microsoft extension added for Microsoft C 7.0.<br />

Record <strong>Format</strong><br />

The subrecord format is:<br />

1 1 1 1<br />

05 Bit Flags Pseudocode Version CodeView Version<br />

Bit Flags Field<br />

The format of the Bit Flags byte is:<br />

8 1 1 1 1 1 1 1 1 (bits)<br />

05 0 0 0 0 0 Run MPC Omit<br />

CodeView<br />

$PUBLICS<br />

New<br />

.EXE<br />

The low-order bit, if set, indicates that the linker should output the new .EXE format; this flag is ignored for all but<br />

linking of pseudocode (p-code) applications. (Pseudocode requires a segmented executable.)<br />

The second low-order bit indicates that the linker should not output the $PUBLICS subsection of the Microsoft<br />

symbol and type (CodeView) information.<br />

The third low-order bit indicates the need to run the Microsoft Make Pseudocode Utility (MPC) over the object file<br />

to enable creation of an executable file.<br />

Pseudocode Version Field<br />

This is a one-byte field indicating the pseudocode interpreter version number.<br />

CodeView Version Field<br />

This is a one-byte field indicating the CodeView version number.<br />

Note: The presence of this record in an object module will indicate the presence of global symbols<br />

records. The linker will not emit a $PUBLICS section for those modules with this comment record and<br />

a $SYMBOLS section.<br />

18 <strong>OMF</strong> <strong>Specification</strong>, Version 1.1 Tool Interface Standards (TIS)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!