enum RelocationType
Declared at: llvm/include/llvm/BinaryFormat/XCOFF.h:247
Enumerators
Name | Value | Comment |
---|---|---|
R_POS | 0 | Positive relocation. Provides the address of the referenced symbol. |
R_RL | 12 | Positive indirect load relocation. Modifiable instruction. |
R_RLA | 13 | Positive load address relocation. Modifiable instruction. |
R_NEG | 1 | Negative relocation. Provides the negative of the address of the referenced symbol. |
R_REL | 2 | Relative to self relocation. Provides a displacement value between the address of the referenced symbol and the address being relocated. |
R_TOC | 3 | Relative to the TOC relocation. Provides a displacement that is the difference between the address of the referenced symbol and the TOC anchor csect. |
R_TRL | 18 | TOC relative indirect load relocation. Similar to R_TOC, but not modifiable instruction. |
R_TRLA | 19 | |
R_GL | 5 | Global linkage-external TOC address relocation. Provides the address of the external TOC associated with a defined external symbol. |
R_TCL | 6 | Local object TOC address relocation. Provides the address of the local TOC entry of a defined external symbol. |
R_REF | 15 | A non-relocating relocation. Used to prevent the binder from garbage collecting a csect (such as code used for dynamic initialization of non-local statics) for which another csect has an implicit dependency. |
R_BA | 8 | Branch absolute relocation. Provides the address of the referenced symbol. References a non-modifiable instruction. |
R_BR | 10 | Branch relative to self relocation. Provides the displacement that is the difference between the address of the referenced symbol and the address of the referenced branch instruction. References a non-modifiable instruction. |
R_RBA | 24 | Branch absolute relocation. Similar to R_BA but references a modifiable instruction. |
R_RBR | 26 | Branch relative to self relocation. Similar to the R_BR relocation type, but references a modifiable instruction. |
R_TLS | 32 | General-dynamic reference to TLS symbol. |
R_TLS_IE | 33 | Initial-exec reference to TLS symbol. |
R_TLS_LD | 34 | Local-dynamic reference to TLS symbol. |
R_TLS_LE | 35 | Local-exec reference to TLS symbol. |
R_TLSM | 36 | Module reference to TLS. Provides a handle for the module containing the referenced symbol. |
R_TLSML | 37 | Module reference to the local TLS storage. |
R_TOCU | 48 | Relative to TOC upper. Specifies the high-order 16 bits of a large code model TOC-relative relocation. |
R_TOCL | 49 | Relative to TOC lower. Specifies the low-order 16 bits of a large code model TOC-relative relocation. |