public class ELFObjectFile.SectionHeaderTable extends ObjectFile.Element
StringTable in this
implementation.| Constructor and Description |
|---|
SectionHeaderTable()
Logically create an empty SectionHeaderTable.
|
| Modifier and Type | Method and Description |
|---|---|
LayoutDecisionMap |
getDecisions(LayoutDecisionMap copyingIn) |
Iterable<BuildDependency> |
getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
Implementing this method allows to declare dependencies to other Sections (i.e.
|
ElementImpl |
getImpl() |
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 |
isLoadable()
Returns whether or not this section will be mapped into memory.
|
void |
write(OutputAssembler out,
Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided) |
getAlignment, getElement, getElementName, getMemSize, getName, getOwner, isReferenceable, setElement, toStringpublic SectionHeaderTable()
public ElementImpl getImpl()
getImpl in class ObjectFile.Elementpublic boolean isLoadable()
ObjectFile.ElementisLoadable in interface ElementImplisLoadable in class ObjectFile.Elementpublic Iterable<BuildDependency> getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
ElementImplpublic int getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int sizeHint)
ElementImplpublic byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImplpublic LayoutDecisionMap getDecisions(LayoutDecisionMap copyingIn)
getDecisions in interface ElementImplgetDecisions in class ObjectFile.Elementpublic int getOrDecideOffset(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int offsetHint)
ElementImplpublic int getOrDecideVaddr(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int vaddrHint)
ElementImplElementImpl.isLoadable()).public void write(OutputAssembler out, Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided)