public static interface ObjectFile.RelocatableSectionImpl extends ElementImpl
| Modifier and Type | Method and Description |
|---|---|
ObjectFile.Element |
getOrCreateRelocationElement(long addend)
Force the creation of a relocation section/element for this section, and return it.
|
void |
markRelocationSite(int offset,
ByteBuffer bb,
ObjectFile.RelocationKind k,
String symbolName,
long addend)
Record (in a format-specific way) that data at the given offset in the file, for the
given number of bytes, should be fixed up according to the value of the given symbol and
the given kind of relocation.
|
getAlignment, getDecisions, getDependencies, getElement, getMemSize, getOrDecideContent, getOrDecideOffset, getOrDecideSize, getOrDecideVaddr, isLoadable, isReferenceable, setElementvoid markRelocationSite(int offset,
ByteBuffer bb,
ObjectFile.RelocationKind k,
String symbolName,
long addend)
offset - the offset into the section contents of the beginning of the fixed-up bytesbb - the byte buffer representing the encoded section contents, at least as far as
offset + length bytesk - the kind of fixup to be appliedsymbolName - the name of the symbol whose value is used to compute the fixed-up
bytesaddend - a full-width addend, or 0 if unneededObjectFile.Element getOrCreateRelocationElement(long addend)
addend - whether a full-width addend, or 0 if unneeded