enum EdgeKind_riscv
Description
Represets riscv fixups
Declared at: llvm/include/llvm/ExecutionEngine/JITLink/riscv.h:23
Enumerators
Name | Value | Comment |
---|---|---|
R_RISCV_32 | 2 | A plain 32-bit pointer value relocationFixup expression: Fixup < = Target + Addend : uint32 |
R_RISCV_64 | 3 | A plain 64-bit pointer value relocationFixup expression: Fixup < - Target + Addend : uint32 |
R_RISCV_BRANCH | 4 | PC-relative branch pointer value relocationFixup expression: Fixup < - (Target - Fixup + Addend) |
R_RISCV_JAL | 5 | High 20 bits of PC-relative jump pointer value relocationFixup expression: Fixup < - Target - Fixup + Addend |
R_RISCV_HI20 | 6 | High 20 bits of 32-bit pointer value relocationFixup expression Fixup < - (Target + Addend + 0x800) >> 12 |
R_RISCV_LO12_I | 7 | Low 12 bits of 32-bit pointer value relocationFixup expression Fixup < - (Target + Addend) & 0xFFF |
R_RISCV_PCREL_HI20 | 8 | High 20 bits of PC relative relocationFixup expression: Fixup < - (Target - Fixup + Addend + 0x800) >> 12 |
R_RISCV_PCREL_LO12_I | 9 | Low 12 bits of PC relative relocation, used by I type instruction formatFixup expression: Fixup < - (Target - Fixup + Addend) & 0xFFF |
R_RISCV_PCREL_LO12_S | 10 | Low 12 bits of PC relative relocation, used by S type instruction formatFixup expression: Fixup < - (Target - Fixup + Addend) & 0xFFF |
R_RISCV_CALL | 11 | PC relative callFixup expression: Fixup < - (Target - Fixup + Addend) |
R_RISCV_32_PCREL | 12 | 32 bits PC relative relocationFixup expression: Fixup < - (Target - Fixup + Addend) |
R_RISCV_GOT_HI20 | 13 | PC relative GOT offsetFixup expression: Fixup < - (GOT - Fixup + Addend) >> 12 |
R_RISCV_CALL_PLT | 14 | PC relative call by PLTFixup expression: Fixup < - (Target - Fixup + Addend) |
R_RISCV_ADD64 | 15 | 64 bits label additionFixup expression: Fixup < - (Target - *{8}Fixup + Addend) |
R_RISCV_ADD32 | 16 | 32 bits label additionFixup expression: Fixup < - (Target - *{4}Fixup + Addend) |
R_RISCV_ADD16 | 17 | 16 bits label additionFixup expression Fixup < - (Target - *{2}Fixup + Addend) |
R_RISCV_ADD8 | 18 | 8 bits label additionFixup expression Fixup < - (Target - *{1}Fixup + Addend) |
R_RISCV_SUB64 | 19 | 64 bits label subtractionFixup expression Fixup < - (Target - *{8}Fixup - Addend) |
R_RISCV_SUB32 | 20 | 32 bits label subtractionFixup expression Fixup < - (Target - *{4}Fixup - Addend) |
R_RISCV_SUB16 | 21 | 16 bits label subtractionFixup expression Fixup < - (Target - *{2}Fixup - Addend) |
R_RISCV_SUB8 | 22 | 8 bits label subtractionFixup expression Fixup < - (Target - *{1}Fixup - Addend) |
R_RISCV_SUB6 | 23 | 6 bits label subtractionFixup expression Fixup < - (Target - *{1}Fixup - Addend) |
R_RISCV_SET6 | 24 | Local label assignmentFixup expression: Fixup < - (Target + Addend) |
R_RISCV_SET8 | 25 | Local label assignmentFixup expression: Fixup < - (Target + Addend) |
R_RISCV_SET16 | 26 | Local label assignmentFixup expression: Fixup < - (Target + Addend) |
R_RISCV_SET32 | 27 | Local label assignmentFixup expression: Fixup < - (Target + Addend) |