public static interface ObjectFile.RelocatableSectionImpl extends ElementImpl
Modifier and Type | Method and Description |
---|---|
ObjectFile.Element |
getOrCreateRelocationElement(boolean useImplicitAddend)
Force the creation of a relocation section/element for this section, and return it.
|
ObjectFile.RelocationRecord |
markRelocationSite(int offset,
ByteBuffer bb,
ObjectFile.RelocationKind k,
String symbolName,
boolean useImplicitAddend,
Long explicitAddend)
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, setElement
ObjectFile.RelocationRecord markRelocationSite(int offset, ByteBuffer bb, ObjectFile.RelocationKind k, String symbolName, boolean useImplicitAddend, Long explicitAddend)
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
bytesuseImplicitAddend
- whether the current bytes are to be used as an addendexplicitAddend
- a full-width addend, or null if useImplicitAddend is trueObjectFile.Element getOrCreateRelocationElement(boolean useImplicitAddend)
useImplicitAddend
- whether the relocation section of interest is for implicit
addends