Relocation Calculations
The following notation is used to describe relocation computations.
-
A -
The addend used to compute the value of the relocatable field.
-
B -
The base address at which a shared object is loaded into memory during execution. Generally, a shared object file is built with a base virtual address of
0. However, the execution address of the shared object is different. See Program Header. -
G -
The offset into the global offset table at which the address of the relocation entry's symbol resides during execution. See Global Offset Table (Processor-Specific).
-
GOT -
The address of the global offset table. See Global Offset Table (Processor-Specific).
-
L -
The section offset or address of the procedure linkage table entry for a symbol. See Procedure Linkage Table (Processor-Specific).
-
P -
The section offset or address of the storage unit being relocated, computed using
r_offset. -
S -
The value of the symbol whose index resides in the relocation entry.
-
Z -
The size of the symbol whose index resides in the relocation entry.