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_STATEMENT Define the beginning of statement number N.
R_SEC_STATEMENT Define the beginning of a secondary statement number N.
R_DATA_EXPR Pop one word from the expression stack and copy one data word from the input
subspace to the output subspace, adding the popped value to it.
R_CODE_EXPR Pop one word from the expression stack, and copy one instruction word from the
input subspace to the output subspace, adding the popped value to the displace-
ment field of the instruction.
R_FSEL Use an F´ field selector for the next fixup request instead of the default appropri-
ate for the instruction.
R_LSEL Use an L-class field selector for the next fixup request instead of the default
appropriate for the instruction. Depending on the current rounding mode, L´,
LS´, LD´, or LR´ may be used.
R_RSEL Use an R-class field selector for the next fixup request instead of the default
appropriate for the instruction. Depending on the current rounding mode, R´,
RS´, RD´, or RR´ may be used.
R_N_MODE Select round-down mode (L´/R´). This is the default mode at the beginning of
each subspace. This setting remains in effect until explicitly changed or until the
end of the subspace.
R_S_MODE Select round-to-nearest-page mode (LS´/RS´). This setting remains in effect until
explicitly changed or until the end of the subspace.
R_D_MODE Select round-up mode (LD´/RD´). This setting remains in effect until explicitly
changed or until the end of the subspace.
R_R_MODE Select round-down-with-adjusted-constant mode (LR´/RR´). This setting remains
in effect until explicitly changed or until the end of the subspace.
R_DATA_OVERRIDE Use the constant V for the next fixup request in place of the constant from the
data word or instruction in the input subspace.
R_TRANSLATED Toggle "translated" mode. This fixup request is generated only by the linker dur-
ing a relocatable link to indicate a subspace that was originally read from an
old-format relocatable object file.
R_COMP1 Stack operations. The second byte of this fixup request contains a secondary
opcode. In the descriptions below, A refers to the top of the stack and B refers to
the next item on the stack. All items on the stack are considered signed 32-bit
integers.
R_PUSH_PCON1 Push the (positive) constant V.
R_PUSH_DOT Push the current virtual address.
R_MAX Pop A and B, then push max(A, B).
R_MIN Pop A and B, then push min(A, B).
R_ADD Pop A and B, then push A + B.
R_SUB Pop A and B, then push B − A.
R_MULT Pop A and B, then push A * B.
R_DIV Pop A and B, then push B / A.
R_MOD Pop A and B, then push B % A.
R_AND Pop A and B, then push A & B.
R_OR Pop A and B, then push A | B.
R_XOR Pop A and B, then push A XOR B.
R_NOT Replace A with its complement.
R_LSHIFT If C = 0, pop A and B, then push B << A. Otherwise,
replace A with A << C.
R_ARITH_RSHIFT If C = 0, pop A and B, then push B >> A. Otherwise,
replace A with A >> C. The shifting is done with sign
extension.
R_LOGIC_RSHIFT If C = 0, pop A and B, then push B >> A. Otherwise,
replace A with A >> C. The shifting is done with zero
fill.
HP-UX Release 11i: December 2000 − 10 − Section 4−−11
___
___