public class ELFRelocationSection extends ELFObjectFile.ELFSection
| Modifier and Type | Method and Description |
|---|---|
com.oracle.objectfile.elf.ELFRelocationSection.Entry |
addEntry(ELFObjectFile.ELFSection s,
long offset,
com.oracle.objectfile.elf.ELFRelocationSection.ELFRelocationMethod t,
com.oracle.objectfile.elf.ELFSymtab.Entry sym,
Long explicitAddend) |
LayoutDecisionMap |
getDecisions(LayoutDecisionMap copyingIn) |
Iterable<BuildDependency> |
getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
Implementing this method allows to declare dependencies to other Sections (i.e.
|
int |
getEntrySize() |
ElementImpl |
getImpl() |
long |
getLinkedInfo() |
ELFObjectFile.ELFSection |
getLinkedSection() |
byte[] |
getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
byte[] contentHint)
Implement this method to deliver the content of the section.
|
int |
getOrDecideOffset(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int offsetHint)
Implement this method to provide the offset this section should be placed at.
|
int |
getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int sizeHint)
Implement this method to provide the size of this section.
|
int |
getOrDecideVaddr(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int vaddrHint)
Implement this method to provide the virtual address of this section.
|
boolean |
isDynamic() |
getFlags, getOwner, getType, isLoadable, isReferenceable, setFlagsgetAlignment, getElement, getElementName, getMemSize, getName, setElement, toStringpublic ElementImpl getImpl()
getImpl in class ObjectFile.Elementpublic com.oracle.objectfile.elf.ELFRelocationSection.Entry addEntry(ELFObjectFile.ELFSection s, long offset, com.oracle.objectfile.elf.ELFRelocationSection.ELFRelocationMethod t, com.oracle.objectfile.elf.ELFSymtab.Entry sym, Long explicitAddend)
public boolean isDynamic()
public ELFObjectFile.ELFSection getLinkedSection()
getLinkedSection in class ELFObjectFile.ELFSectionpublic long getLinkedInfo()
getLinkedInfo in class ELFObjectFile.ELFSectionpublic int getEntrySize()
getEntrySize in class ELFObjectFile.ELFSectionpublic Iterable<BuildDependency> getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
ElementImplpublic byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImplpublic int getOrDecideOffset(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int offsetHint)
ElementImplpublic int getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int sizeHint)
ElementImplpublic int getOrDecideVaddr(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int vaddrHint)
ElementImplElementImpl.isLoadable()).public LayoutDecisionMap getDecisions(LayoutDecisionMap copyingIn)
getDecisions in interface ElementImplgetDecisions in class ObjectFile.Element