public static enum ObjectFile.RelocationKind extends Enum<ObjectFile.RelocationKind>
| Enum Constant and Description |
|---|
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 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()