01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RELOC (4)<br />

RELOC ( 4)<br />

R_ABS The reference is absolute, and no relocation is<br />

necessary. The entry will be ignored.<br />

R_DIR16 A direct, 16-bit reference to a symbol's virtual<br />

address.<br />

R_REL16 A "PC-relative," 16-bit reference to a symbol's<br />

virtual address. Relative references occur in<br />

instructions such as jumps and calls. The actual<br />

address used is obtained by adding a constant to<br />

the value of the program counter at the time the<br />

instruction is executed.<br />

R_IND16 An indirect, 16-bit reference through a transfer<br />

vector. The instruction contains the virtual<br />

address of the transfer vector, where the actual<br />

address of the referenced word is stored.<br />

R_ABS The reference is absolute, and no relocation is<br />

necessary. The entry will be ignored.<br />

R_Dffi24 A direct, 24-bit reference to a symbol's virtual<br />

address.<br />

R_REL24 A "PC-relative," 24-bit reference to a symbol's<br />

virtual address. Relative references occur in<br />

instructions such as jumps and calls. The actual<br />

address used is obtained by adding a constant to<br />

the value of the program counter at the time the<br />

instruction is executed.<br />

R_OPT16 An optimized, indirect, 16-bit reference through a<br />

transfer vector. The instruction contains the<br />

offset into the transfer vector table to the transfer<br />

vector where the actual address of the referenced<br />

word is stored.<br />

R_IND24 An indirect, 24-bit reference through a transfer<br />

vector. The instruction contains the virtual<br />

address of the transfer vector, where the actual<br />

address of the referenced word is stored.<br />

R_IND32 An ··indirect, 32-bit reference through a transfer<br />

vector. The instruction contains the virtual<br />

address of the transfer vector, where the actual<br />

address of the referenced word is stored.<br />

R_RELBYTE A direct 8 bit reference to a symbol's virtual<br />

address.<br />

R_RELWORD A direct 16 bit reference to a symbol's virtual<br />

address.<br />

R_RELLONG A direct 32 bit reference to a symbol's virtual<br />

address.<br />

R_.PCRBYTE A "PC-relative," 8 bit reference to a symbol's virtual<br />

address.<br />

R.YCRWORD A "PC-relative," 16 bit reference to a symbol's<br />

virtual address.<br />

- 2-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!