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 />

B6H or B7H LPUBDEF—Local Public Names Definition Record<br />

Description<br />

This record is identical in form to the PUBDEF record described earlier. However, the symbols named in this<br />

record are not visible outside the module in which they are defined.<br />

History<br />

This record is an extension to the original set of 8086 object record types. It was added for Microsoft C 5.0.<br />

Record type B7H has been added for 32-bit linkers: the Local Offset field is 32 bits rather than 16 bits.<br />

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

1 2 1 or 2 1 or 2 2 1 2 or 4 1 or 2 1<br />

B6 Record Base Base Base String Local Local Type Checksum<br />

or Length Group Segment Frame Length Name String Offset Index<br />

B7<br />

<br />

Note: In Microsoft C, the static keyword on functions or initialized variables produces LPUBDEF<br />

records. Uninitialized static variables produce LCOMDEF records.<br />

58 <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!