LINK Help (linker.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Segment Table
                                             Up Contents Index Back
─────EXEHDR─────────────────────────────────────────────────────────────────
 
     After the header fields for a segmented executable file, EXEHDR
     displays the segment table. All values appear in hexadecimal
     except for the segment index number. An example of this table is:
 
          no. type address  file  mem   flags
            1 CODE 00000400 00efb 00efb
            2 DATA 00001400 00031 0007d
            3 DATA 00001600 0003c 00040 SHARED
 
     Heading     Meaning
 
     no.         Segment index number (in decimal), starting with 1.
 
     type        CODE or DATA segment identification.
 
     address     A seek offset for the segment within the file.
 
     file        Size in bytes of the segment in the file on disk.
 
     mem         Size in bytes of the segment in memory. If <mem> is
                 greater than <file>, the operating system pads the
                 extra space with zeros at load time.
 
     flags       Segment attributes. If verbose output is not requested,
                 only nondefault attributes are listed; if /V is used,
                 complete attributes are displayed. Attributes that are
                 meaningful only to Windows appear in lowercase and in
                 parentheses. In addition to those specified in the
                 .DEF file or assumed by default, verbose output
                 includes the following two attributes:
 
                 relocs     Displayed for each segment that has address
                            relocations. These occur in each segment
                            that references objects in other segments
                            or makes dynamic-link references.
 
                 iterated   Displayed for each segment that has
                            iterated data. Iterated data consists of a
                            special code that packs repeated bytes.
                                    -♦-