public static enum ObjectFile.RelocationKind extends Enum<ObjectFile.RelocationKind>
| Enum Constant and Description |
|---|
AARCH64_R_AARCH64_ADD_ABS_LO12_NC |
AARCH64_R_AARCH64_ADR_PREL_PG_HI21 |
AARCH64_R_AARCH64_LDST128_ABS_LO12_NC |
AARCH64_R_AARCH64_LDST64_ABS_LO12_NC |
AARCH64_R_AARCH64_LDST8_ABS_LO12_NC |
AARCH64_R_GOT_LD_PREL19 |
AARCH64_R_LD_PREL_LO19 |
AARCH64_R_MOVW_UABS_G0 |
AARCH64_R_MOVW_UABS_G0_NC |
AARCH64_R_MOVW_UABS_G1 |
AARCH64_R_MOVW_UABS_G1_NC |
AARCH64_R_MOVW_UABS_G2 |
AARCH64_R_MOVW_UABS_G2_NC |
AARCH64_R_MOVW_UABS_G3 |
DIRECT
The relocation's symbol provides an address whose absolute value (plus addend) supplies
the fixup bytes.
|
DIRECT_HI
The relocation's symbol provides high fixup bytes.
|
DIRECT_LO
The relocation's symbol provides low fixup bytes.
|
PC_RELATIVE
The relocation's symbol provides an address whose PC-relative value (plus addend)
supplies the fixup bytes.
|
PROGRAM_BASE
The relocation's symbol is ignored; the load-time offset of the program (FIXME: or shared
object), plus addend, supplies the fixup bytes.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
usesSymbolValue()
Generally, relocation records come with symbols whose value is used to compute the
fixed-up bytes at the relocation site.
|
static ObjectFile.RelocationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectFile.RelocationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectFile.RelocationKind UNKNOWN
public static final ObjectFile.RelocationKind DIRECT
public static final ObjectFile.RelocationKind DIRECT_HI
public static final ObjectFile.RelocationKind DIRECT_LO
public static final ObjectFile.RelocationKind PC_RELATIVE
public static final ObjectFile.RelocationKind PROGRAM_BASE
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G0
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G0_NC
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G1
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G1_NC
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G2
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G2_NC
public static final ObjectFile.RelocationKind AARCH64_R_MOVW_UABS_G3
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_ADR_PREL_PG_HI21
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_ADD_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_LD_PREL_LO19
public static final ObjectFile.RelocationKind AARCH64_R_GOT_LD_PREL19
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST64_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST8_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST128_ABS_LO12_NC
public static ObjectFile.RelocationKind[] values()
public static ObjectFile.RelocationKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean usesSymbolValue()