public static enum ObjectFile.RelocationKind extends Enum<ObjectFile.RelocationKind>
Modifier and Type | Method and Description |
---|---|
static ObjectFile.RelocationKind |
getDirect(int relocationSize) |
static ObjectFile.RelocationKind |
getPCRelative(int relocationSize) |
static int |
getRelocationSize(ObjectFile.RelocationKind kind) |
static boolean |
isPCRelative(ObjectFile.RelocationKind kind) |
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_1
public static final ObjectFile.RelocationKind DIRECT_2
public static final ObjectFile.RelocationKind DIRECT_4
public static final ObjectFile.RelocationKind DIRECT_8
public static final ObjectFile.RelocationKind SECTION_2
public static final ObjectFile.RelocationKind SECREL_4
public static final ObjectFile.RelocationKind PC_RELATIVE_1
public static final ObjectFile.RelocationKind PC_RELATIVE_2
public static final ObjectFile.RelocationKind PC_RELATIVE_4
public static final ObjectFile.RelocationKind PC_RELATIVE_8
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_LDST128_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST64_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST32_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST16_ABS_LO12_NC
public static final ObjectFile.RelocationKind AARCH64_R_AARCH64_LDST8_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 static ObjectFile.RelocationKind getDirect(int relocationSize)
public static ObjectFile.RelocationKind getPCRelative(int relocationSize)
public static boolean isPCRelative(ObjectFile.RelocationKind kind)
public static int getRelocationSize(ObjectFile.RelocationKind kind)