enum MCFixupKind
Description
Extensible enumeration to represent the type of a fixup.
Declared at: llvm/include/llvm/MC/MCFixup.h:21
Enumerators
Name | Value | Comment |
---|---|---|
FK_NONE | 0 | A no-op fixup. |
FK_Data_1 | 1 | A one-byte fixup. |
FK_Data_2 | 2 | A two-byte fixup. |
FK_Data_4 | 3 | A four-byte fixup. |
FK_Data_8 | 4 | A eight-byte fixup. |
FK_Data_6b | 5 | A six-bits fixup. |
FK_PCRel_1 | 6 | A one-byte pc relative fixup. |
FK_PCRel_2 | 7 | A two-byte pc relative fixup. |
FK_PCRel_4 | 8 | A four-byte pc relative fixup. |
FK_PCRel_8 | 9 | A eight-byte pc relative fixup. |
FK_GPRel_1 | 10 | A one-byte gp relative fixup. |
FK_GPRel_2 | 11 | A two-byte gp relative fixup. |
FK_GPRel_4 | 12 | A four-byte gp relative fixup. |
FK_GPRel_8 | 13 | A eight-byte gp relative fixup. |
FK_DTPRel_4 | 14 | A four-byte dtp relative fixup. |
FK_DTPRel_8 | 15 | A eight-byte dtp relative fixup. |
FK_TPRel_4 | 16 | A four-byte tp relative fixup. |
FK_TPRel_8 | 17 | A eight-byte tp relative fixup. |
FK_SecRel_1 | 18 | A one-byte section relative fixup. |
FK_SecRel_2 | 19 | A two-byte section relative fixup. |
FK_SecRel_4 | 20 | A four-byte section relative fixup. |
FK_SecRel_8 | 21 | A eight-byte section relative fixup. |
FirstTargetFixupKind | 128 | |
FirstLiteralRelocationKind | 256 | The range [FirstLiteralRelocationKind, MaxTargetFixupKind) is used for relocations coming from .reloc directive. Fixup kind FirstLiteralRelocationKind+V represents the relocation type with number V. |
MaxFixupKind | 1320 | Set limit to accommodate the highest reloc type in use for all Targets, currently R_AARCH64_IRELATIVE at 1032, including room for expansion. |