eld Manual

Table Of Contents
TNS/E Native Object Files
eld Manual527255-009
A-9
Summary of the Contents of an Object File
.rdata Section
This contains application-defined initialized data that does not get modified at
runtime (although the initial values may be addresses that need modification when
the loadfile is first brought into memory).
.fptr Section
This section contains official function descriptors. An official function descriptor
contains the address and GP value for a procedure that exists in this loadfile.
Procedure pointers point at official function descriptors. An official function
descriptor is only created for a procedure if the address of that procedure is taken
in the same loadfile, or if the procedure is exported from the loadfile.
.srdata Section
This contains application-defined initialized data that does not get modified at
runtime (although the initial values may be addresses that need modification when
the loadfile is first brought into memory), and that furthermore is “small” data for
which 22-bit GP-relative addressing is used because the compiler or assembler
can guarantee that the target of the reference is in the same loadfile.
.got Section
This is the global offset table, which contains addresses of data items that are
referenced indirectly, as well as the addresses of official function descriptors and
EnterPriv labels. The linker creates entries in the .got section as necessary. The
entries in the .got section are found by 22-bit GP-relative addressing.
.IA_64.pltoff Section
This section contains local function descriptors. A local function descriptor
contains the address and GP value for a procedure that is referenced from this
loadfile. Direct procedure calls (i.e., not involving procedure pointers) use these
local function descriptors. The linker creates entries in the .IA_64.pltoff section as
necessary. The entries in the .IA_64.pltoff section are found by 22-bit GP-relative
addressing.
.sdata Section
This contains application-defined initialized “small” data for which 22-bit GP-relative
addressing is used because the compiler or assembler can guarantee that the
target of the reference is in the same loadfile.
.sbss Section
This contains application-defined uninitialized “small” data for which 22-bit GP-
relative addressing is used because the compiler or assembler can guarantee that
the target of the reference is in the same loadfile. This section occupies no space
in an object file, but rather reserves memory space that is automatica
lly initialized