Tables

Following the header fields, EXEHDR displays the segment table with complete attributes, not just the nondefault attributes. Attributes that are meaningful only to Windows are displayed in lowercase and in parentheses. In addition to the attributes specified in the module-definition file (described in “CODE, DATA, and SEGMENTS Attributes”) or assumed by default, the verbose output includes the following two attributes:

The relocs attribute is displayed for each segment that has address relocations. Relocations occur in each segment that references objects in other segments or makes dynamic-link references.

The iterated attribute is displayed for each segment that has iterated data. Iterated data consist of a special code that packs repeated bytes.

EXEHDR then displays the Exports table if exports exist.

Relocations

Following the tables, EXEHDR displays descriptions of relocations. Each has a heading in the following form:

1 type offset target

BASE eff4 seg 1 offset 0000

BASE f204 seg 2 offset 0000

OFFSET eff1 seg 1 offset e968

OFFSET 314e seg 1 offset 32ea

BASE c0f1 seg 3 offset 0000

OFFSET d397 seg 1 offset cf70

PTR cd3e imp DOSCALLS.137

OFFSET b1a8 seg 1 offset ae7c

PTR f57c imp KBDCALLS.13

The following list describes each heading:

number

The segment number, as given earlier in the segments table.

type

Relocation type, which gives the kind of address information requested.

offset

The location of the requested address change in the source segment.

target

The requested relocation address.

Each relocation table ends by stating the total number of relocations.