Contents    Page-10    Prev    Next    Page+10    Index   

Relocatable Code

A relocatable code file contains the following items:

  1. Size of each static data area; each data area corresponds to a location counter. There may be one data area, two for code and for data, or many.
    LC Size
    0 200
    1 400
  2. Table of imported symbols: external symbols (not defined in that module) that are referenced by the code.
    N Name
    0 SIN
    1 EXP
  3. Table of exported symbols or entry points; for each, its location counter number and offset from that location counter.
    Name LC Offset
    GRAPH1 0 40
  4. Data or code for each data area.