enum RelocationType

Declared at: llvm/include/llvm/BinaryFormat/XCOFF.h:247

Enumerators

NameValueComment
R_POS0Positive relocation. Provides the address of the referenced symbol.
R_RL12Positive indirect load relocation. Modifiable instruction.
R_RLA13Positive load address relocation. Modifiable instruction.
R_NEG1Negative relocation. Provides the negative of the address of the referenced symbol.
R_REL2Relative to self relocation. Provides a displacement value between the address of the referenced symbol and the address being relocated.
R_TOC3Relative to the TOC relocation. Provides a displacement that is the difference between the address of the referenced symbol and the TOC anchor csect.
R_TRL18TOC relative indirect load relocation. Similar to R_TOC, but not modifiable instruction.
R_TRLA19
R_GL5Global linkage-external TOC address relocation. Provides the address of the external TOC associated with a defined external symbol.
R_TCL6Local object TOC address relocation. Provides the address of the local TOC entry of a defined external symbol.
R_REF15A 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_BA8Branch absolute relocation. Provides the address of the referenced symbol. References a non-modifiable instruction.
R_BR10Branch 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_RBA24Branch absolute relocation. Similar to R_BA but references a modifiable instruction.
R_RBR26Branch relative to self relocation. Similar to the R_BR relocation type, but references a modifiable instruction.
R_TLS32General-dynamic reference to TLS symbol.
R_TLS_IE33Initial-exec reference to TLS symbol.
R_TLS_LD34Local-dynamic reference to TLS symbol.
R_TLS_LE35Local-exec reference to TLS symbol.
R_TLSM36Module reference to TLS. Provides a handle for the module containing the referenced symbol.
R_TLSML37Module reference to the local TLS storage.
R_TOCU48Relative to TOC upper. Specifies the high-order 16 bits of a large code model TOC-relative relocation.
R_TOCL49Relative to TOC lower. Specifies the low-order 16 bits of a large code model TOC-relative relocation.