Intel NIOS II Owner Reference Manual page 156

Table of Contents

Advertisement

Name
R_NIOS2_TLS_LDO16
R_NIOS2_TLS_IE16
R_NIOS2_TLS_LE16
R_NIOS2_TLS_DTPMOD
R_NIOS2_TLS_DTPREL
R_NIOS2_TLS_TPREL
R_NIOS2_COPY
R_NIOS2_GLOB_DAT
R_NIOS2_JUMP_SLOT
R_NIOS2_RELATIVE
R_NIOS2_GOTOFF
R_NIOS2_GOT_LO
R_NIOS2_GOT_HA
R_NIOS2_CALL_LO
R_NIOS2_CALL_HA
Expressions in the table above use the following conventions:
S: Symbol address
A: Addend
PC: Program counter
GP: Global pointer
Adj(X): (((X >> 16) & 0xFFFF) + ((X >> 15) & 0x1)) & 0xFFFF
BA: The base address at which a shared library is loaded
GOT: The value of the Global Offset Table (GOT) pointer (Linux only)
G: The offset into the GOT for the GOT slot for symbol S (Linux only)
(45)
For relocation types where no overflow check is performed, the relocated address is truncated
to fit the instruction.
(47)
Relocation support is provided for Linux systems.
Nios II Processor Reference Guide
156
Value
Overflow
Relocated Address
check
(45)
(47)
30
Yes
Refer to Thread-Local
Storage section
(47)
31
Yes
Refer to Thread-Local
Storage section
(47)
32
Yes
Refer to Thread-Local
Storage section
(47)
33
No
Refer to Thread-Local
Storage section
(47)
34
No
Refer to Thread-Local
Storage section
(47)
35
No
Refer to Thread-Local
Storage section
(47)
36
No
Refer to Copy
Relocation section.
(47)
37
No
S
(47)
38
No
Refer to Jump Slot
Relocation section.
(47)
39
No
BA+A
(47)
40
No
S+A
(47)
42
No
G & 0xFFFF
(47)
43
No
Adj(G)
(47)
44
No
G & 0xFFFF
(47)
45
No
Adj(G)
7. Application Binary Interface
NII-PRG | 2018.04.18
Bit Mask
R
M
0x003FFFC0
0x003FFFC0
0x003FFFC0
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
n/a
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
0x003FFFC0
0x003FFFC0
0x003FFFC0
0x003FFFC0
Bit Shift
B
6
6
6
0
0
0
n/a
0
0
0
0
6
6
6
6

Advertisement

Table of Contents
loading

Table of Contents