Bindings.Bfd.Section
- type Section = Ptr Section'
- type SectionName = String
- mk :: SectionName -> Int -> IO Section
- getContents :: Section -> Bfd -> FilePtr -> Size -> IO Contents
- getFlags :: Section -> IO [Flags]
- setName :: Section -> SectionName -> IO ()
- getName :: Section -> IO SectionName
- getNext :: Section -> IO Section
- getSize :: Section -> IO Size
- getRawsize :: Section -> IO Size
- getLimit :: Section -> Bfd -> IO Int
- getOutputSection :: Section -> IO Section
- setOutputSection :: Section -> Section -> IO ()
- getRelocatedContents :: Section -> Bfd -> SymbolTable -> IO Contents
- getRelocations :: Section -> Bfd -> SymbolTable -> IO [Relocation]
- getSymbol :: Section -> IO Symbol
- setVma :: Section -> Vma -> IO ()
- getVma :: Section -> IO Vma
- getLma :: Section -> IO Vma
- setAlignment :: Section -> Int -> IO ()
- getAlignment :: Section -> IO Int
- isAbsolute :: Section -> Bool
- isCommon :: Section -> IO Bool
- isExterns :: Section -> IO Bool
- externsName :: String
- isUndefined :: Section -> Bool
- data Section'
Types
type SectionName = StringSource
Functions
Creating
Flags
SectionName
getName :: Section -> IO SectionNameSource
Returns the SectionName.
Section Size
getRawsize :: Section -> IO SizeSource
getLimit :: Section -> Bfd -> IO IntSource
If the raw size (see getRawSize) is not zero then return the raw size.
Otherwise return the division of the size (see getSize) by the octets per
byte (see getOctetsPerByte).
getRelocatedContents :: Section -> Bfd -> SymbolTable -> IO ContentsSource
getRelocations :: Section -> Bfd -> SymbolTable -> IO [Relocation]Source
Addressing
Testing
isAbsolute :: Section -> BoolSource
isUndefined :: Section -> BoolSource