public class BasicNobitsSectionImpl extends BasicElementImpl implements ObjectFile.NobitsSectionImpl
| Constructor and Description |
|---|
BasicNobitsSectionImpl(long size) |
BasicNobitsSectionImpl(long size,
ObjectFile.Section s) |
BasicNobitsSectionImpl(ObjectFile.Section s) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlignment() |
Iterable<BuildDependency> |
getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
Implementing this method allows to declare dependencies to other Sections (i.e.
|
int |
getMemSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided)
Implement this method to provide the section size in memory (at runtime).
|
byte[] |
getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
byte[] contentHint)
Implement this method to deliver the content of the section.
|
int |
getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int sizeHint)
Implement this method to provide the size of this section.
|
long |
getSizeInMemory() |
boolean |
isLoadable()
Whether this section is loaded into memory at runtime.
|
void |
setSizeInMemory(long size) |
getDecisions, getElement, getOrDecideOffset, getOrDecideVaddr, getOwner, isReferenceable, setElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDecisions, getElement, getOrDecideOffset, getOrDecideVaddr, isReferenceable, setElementpublic BasicNobitsSectionImpl(long size)
public BasicNobitsSectionImpl(ObjectFile.Section s)
public BasicNobitsSectionImpl(long size,
ObjectFile.Section s)
public Iterable<BuildDependency> getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
ElementImplgetDependencies in interface ElementImplgetDependencies in class BasicElementImplpublic int getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int sizeHint)
ElementImplgetOrDecideSize in interface ElementImplgetOrDecideSize in class BasicElementImplpublic byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImplgetOrDecideContent in interface ElementImplpublic int getMemSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided)
ElementImplgetMemSize in interface ElementImplgetMemSize in class BasicElementImplpublic long getSizeInMemory()
getSizeInMemory in interface ObjectFile.NobitsSectionImplpublic void setSizeInMemory(long size)
setSizeInMemory in interface ObjectFile.NobitsSectionImplpublic int getAlignment()
getAlignment in interface ElementImplgetAlignment in class BasicElementImplpublic boolean isLoadable()
ElementImplisLoadable in interface ElementImpl