HP eld Manual page 248

Table of Contents

Advertisement

TNS/E Native Object Files
Table A-2. Contents of a Loadfile or Import Library
Loadfile Contents
.gateway
DWARF Symbol Table Sections
.source.rdtu
.object.rdtu
.shstrtab
ELF Section Headers
Note that the sections from .got through .sbss are purposely kept together as much as
possible, because they are all referenced with GP-relative addressing. However, when
there are two data segments, the .data section is allowed to intrude among these
sections.
Both the data constant segment and data variable segment can have data that
requires modification by rld when loaded into memory. The difference is that the data
constant segment cannot be modified thereafter, while the data variable segment can.
The following is a brief description of each of the items that can occur in a linkfile or
loadfile. Unless otherwise stated, a section is not required to be present if, based on
its description, it would not contain any useful information for a given object file.
ELF Header
This contains header information for the entire file. It is always found at the start of
an ELF file.
ELF Program Headers
These contain information that summarizes the main parts of the object file
required for loading into memory. Program headers are required in loadfiles and
import libraries.
.tandem_info Section
This contains more information of interest to the operating system. It is required in
loadfiles and import libraries. It also exists in linkfiles because some of its fi
are also meaningful there.
.lic Section
This contains information about the DLLs that were used to preset this loadfile. It
is required in a loadfile, as a placeholder even if the loadfile is not preset.
.dynamic Section
This contains information needed by the runtime loader, such as the addresses of
the .liblist through rela.dyn sections. It is required in loadfiles and import libraries.
(if present, there are three of them.)
(if present, there are three of them.)
eld Manual—527255-009
A-6
Summary of the Contents of an Object File
GP-
Relative
(for a DLL)
Import
LIbrary
X
X
X
s
eld

Advertisement

Table of Contents
loading

Table of Contents