enum EdgeKind_riscv

Description

Represets riscv fixups

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/riscv.h:23

Enumerators

NameValueComment
R_RISCV_322A plain 32-bit pointer value relocationFixup expression: Fixup < = Target + Addend : uint32
R_RISCV_643A plain 64-bit pointer value relocationFixup expression: Fixup < - Target + Addend : uint32
R_RISCV_BRANCH4PC-relative branch pointer value relocationFixup expression: Fixup < - (Target - Fixup + Addend)
R_RISCV_JAL5High 20 bits of PC-relative jump pointer value relocationFixup expression: Fixup < - Target - Fixup + Addend
R_RISCV_HI206High 20 bits of 32-bit pointer value relocationFixup expression Fixup < - (Target + Addend + 0x800) >> 12
R_RISCV_LO12_I7Low 12 bits of 32-bit pointer value relocationFixup expression Fixup < - (Target + Addend) & 0xFFF
R_RISCV_PCREL_HI208High 20 bits of PC relative relocationFixup expression: Fixup < - (Target - Fixup + Addend + 0x800) >> 12
R_RISCV_PCREL_LO12_I9Low 12 bits of PC relative relocation, used by I type instruction formatFixup expression: Fixup < - (Target - Fixup + Addend) & 0xFFF
R_RISCV_PCREL_LO12_S10Low 12 bits of PC relative relocation, used by S type instruction formatFixup expression: Fixup < - (Target - Fixup + Addend) & 0xFFF
R_RISCV_CALL11PC relative callFixup expression: Fixup < - (Target - Fixup + Addend)
R_RISCV_32_PCREL1232 bits PC relative relocationFixup expression: Fixup < - (Target - Fixup + Addend)
R_RISCV_GOT_HI2013PC relative GOT offsetFixup expression: Fixup < - (GOT - Fixup + Addend) >> 12
R_RISCV_CALL_PLT14PC relative call by PLTFixup expression: Fixup < - (Target - Fixup + Addend)
R_RISCV_ADD641564 bits label additionFixup expression: Fixup < - (Target - *{8}Fixup + Addend)
R_RISCV_ADD321632 bits label additionFixup expression: Fixup < - (Target - *{4}Fixup + Addend)
R_RISCV_ADD161716 bits label additionFixup expression Fixup < - (Target - *{2}Fixup + Addend)
R_RISCV_ADD8188 bits label additionFixup expression Fixup < - (Target - *{1}Fixup + Addend)
R_RISCV_SUB641964 bits label subtractionFixup expression Fixup < - (Target - *{8}Fixup - Addend)
R_RISCV_SUB322032 bits label subtractionFixup expression Fixup < - (Target - *{4}Fixup - Addend)
R_RISCV_SUB162116 bits label subtractionFixup expression Fixup < - (Target - *{2}Fixup - Addend)
R_RISCV_SUB8228 bits label subtractionFixup expression Fixup < - (Target - *{1}Fixup - Addend)
R_RISCV_SUB6236 bits label subtractionFixup expression Fixup < - (Target - *{1}Fixup - Addend)
R_RISCV_SET624Local label assignmentFixup expression: Fixup < - (Target + Addend)
R_RISCV_SET825Local label assignmentFixup expression: Fixup < - (Target + Addend)
R_RISCV_SET1626Local label assignmentFixup expression: Fixup < - (Target + Addend)
R_RISCV_SET3227Local label assignmentFixup expression: Fixup < - (Target + Addend)