go/src/cmd/internal/objabi/reloctype.go

type RelocType

const R_ADDR

const R_ADDRPOWER

const R_ADDRARM64

const R_ADDRMIPS

const R_ADDROFF

const R_SIZE

const R_CALL

const R_CALLARM

const R_CALLARM64

const R_CALLIND

const R_CALLPOWER

const R_CALLMIPS

const R_CONST

const R_PCREL

const R_TLS_LE

const R_TLS_IE

const R_GOTOFF

const R_PLT0

const R_PLT1

const R_PLT2

const R_USEFIELD

const R_USETYPE

const R_USEIFACE

const R_USEIFACEMETHOD

const R_USENAMEDMETHOD

const R_METHODOFF

const R_KEEP

const R_POWER_TOC

const R_GOTPCREL

const R_JMPMIPS

const R_DWARFSECREF

const R_DWARFFILEREF

const R_ARM64_TLS_LE

const R_ARM64_TLS_IE

const R_ARM64_GOTPCREL

const R_ARM64_GOT

const R_ARM64_PCREL

const R_ARM64_PCREL_LDST8

const R_ARM64_PCREL_LDST16

const R_ARM64_PCREL_LDST32

const R_ARM64_PCREL_LDST64

const R_ARM64_LDST8

const R_ARM64_LDST16

const R_ARM64_LDST32

const R_ARM64_LDST64

const R_ARM64_LDST128

const R_POWER_TLS_LE

const R_POWER_TLS_IE

const R_POWER_TLS

const R_POWER_TLS_IE_PCREL34

const R_POWER_TLS_LE_TPREL34

const R_ADDRPOWER_DS

const R_ADDRPOWER_GOT

const R_ADDRPOWER_GOT_PCREL34

const R_ADDRPOWER_PCREL

const R_ADDRPOWER_TOCREL

const R_ADDRPOWER_TOCREL_DS

const R_ADDRPOWER_D34

const R_ADDRPOWER_PCREL34

const R_RISCV_JAL

const R_RISCV_JAL_TRAMP

const R_RISCV_CALL

const R_RISCV_PCREL_ITYPE

const R_RISCV_PCREL_STYPE

const R_RISCV_TLS_IE

const R_RISCV_TLS_LE

const R_RISCV_GOT_HI20

const R_RISCV_PCREL_HI20

const R_RISCV_PCREL_LO12_I

const R_RISCV_PCREL_LO12_S

const R_RISCV_BRANCH

const R_RISCV_RVC_BRANCH

const R_RISCV_RVC_JUMP

const R_PCRELDBL

const R_LOONG64_ADDR_HI

const R_LOONG64_ADDR_LO

const R_LOONG64_TLS_LE_HI

const R_LOONG64_TLS_LE_LO

const R_CALLLOONG64

const R_LOONG64_TLS_IE_HI

const R_LOONG64_TLS_IE_LO

const R_LOONG64_GOT_HI

const R_LOONG64_GOT_LO

const R_LOONG64_ADD64

const R_LOONG64_SUB64

const R_JMP16LOONG64

const R_JMP21LOONG64

const R_JMPLOONG64

const R_ADDRMIPSU

const R_ADDRMIPSTLS

const R_ADDRCUOFF

const R_WASMIMPORT

const R_XCOFFREF

const R_PEIMAGEOFF

const R_INITORDER

const R_WEAK

const R_WEAKADDR

const R_WEAKADDROFF

// IsDirectCall reports whether r is a relocation for a direct call.
// A direct call is a CALL instruction that takes the target address
// as an immediate. The address is embedded into the instruction(s), possibly
// with limited width. An indirect call is a CALL instruction that takes
// the target address in register or memory.
func (r RelocType) IsDirectCall() bool {}

// IsDirectJump reports whether r is a relocation for a direct jump.
// A direct jump is a JMP instruction that takes the target address
// as an immediate. The address is embedded into the instruction, possibly
// with limited width. An indirect jump is a JMP instruction that takes
// the target address in register or memory.
func (r RelocType) IsDirectJump() bool {}

// IsDirectCallOrJump reports whether r is a relocation for a direct
// call or a direct jump.
func (r RelocType) IsDirectCallOrJump() bool {}