HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
a
a.out(4) a.out(4)
R_DATA_PLABEL Copy one data word as a 32-bit procedure label, referring to the symbol S. The
original contents of the word should be 0 (no static link) or 2 (static link
required).
R_SPACE_REF Copy one data word as a space reference. This fixup request is not currently
supported.
R_REPEATED_INIT Copy L bytes from the input subspace, replicating the data to fill M bytes in the
output subspace.
R_PCREL_CALL Copy one instruction word with relocation. The word is assumed to be a pc-
relative procedure call instruction (for example, BL). The target procedure is
identified by symbol S, and the parameter relocation bits are R.
R_ABS_CALL Copy one instruction word with relocation. The word is assumed to be an abso-
lute procedure call instruction (for example, BLE). The target procedure is
identified by symbol S, and the parameter relocation bits are R.
R_DP_RELATIVE Copy one instruction word with relocation. The word is assumed to be a dp-
relative load or store instruction (for example, ADDIL, LDW, STW). The target
symbol is identified by symbol S. The linker forms the difference between the
value of the symbol S and the value of the symbol
$global$. By convention,
the value of
$global$ is always contained in register 27. Instructions may
have a small constant in the displacement field of the instruction.
R_DLT_REL Copy one instruction word with relocation. The word is assumed to be a
register-18-relative load or store instruction (for example,
LDW, LDO, STW). The
target symbol is identified by symbol S. The linker computes a linkage table
offset relative to register 18 (reserved for a linkage table pointer in position-
independent code) for the symbol S.
R_CODE_ONE_SYMBOL Copy one instruction word with relocation. The word is assumed to be an
instruction referring to symbol S (for example,
LDIL, LDW, BE). Instructions
may have a small constant in the displacement field of the instruction.
R_MILLI_REL Copy one instruction word with relocation. The word is assumed to be a short
millicode call instruction (for example, BLE). The linker forms the difference
between the value of the target symbol S and the value of symbol 1 in the
module’s symbol table. By convention, the value of symbol 1 should have been
previously loaded into the base register used in the BLE instruction. The
instruction may have a small constant in the displacement field of the instruc-
tion.
R_CODE_PLABEL Copy one instruction word with relocation. The word is assumed to be part of a
code sequence forming a procedure label (for example, LDIL, LDO), referring to
symbol S. The LDO instruction should contain the value 0 (no static link) or 2
(static link required) in its displacement field.
R_BREAKPOINT Copy one instruction word conditionally. On HP-UX, the linker always replaces
the word with a NOP instruction.
R_ENTRY Define a procedure entry point. The stack unwind bits, U, and the frame size, F,
are recorded in a stack unwind descriptor.
R_ALT_ENTRY Define an alternate procedure entry point.
R_EXIT Define a procedure exit point.
R_BEGIN_TRY Define the beginning of a try/recover region.
R_END_TRY Define the end of a try/recover region. The offset R defines the distance in bytes
from the end of the region to the beginning of the recover block.
R_BEGIN_BRTAB Define the beginning of a branch table.
R_END_BRTAB Define the end of a branch table.
R_AUX_UNWIND Define an auxiliary unwind table. CN is a symbol index of the symbol that labels
the beginning of the compilation unit string table. SN is the offset, relative to
the CN symbol, of the scope name string. SK is an integer specifying the scope
kind.
Section 4−−10 − 9 − HP-UX Release 11i: December 2000
___
___