RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Microsoft::NEFormat::Segment Class Reference

Classes

class  Relocation
 

Public Types

enum  flag_type {
  Data = 1 , Code = 0 , Allocated = 2 , Loaded = 4 ,
  Iterated = 8 , Movable = 0x10 , Fixed = 0 , Shareable = 0x20 ,
  Preload = 0x40 , LoadOnCall = 0 , ExecuteOnly = 0x80 , ReadOnly = 0x80|Data ,
  Relocations = 0x0100 , DebugInfo = 0x0200 , Discardable = 0x1000
}
 
enum  { PrivilegeLevelShift = 10 }
 

Public Member Functions

 Segment (std::shared_ptr< Linker::Segment > segment, unsigned flags)
 
void AddRelocation (const Relocation &rel)
 

Public Attributes

std::shared_ptr< Linker::Segmentimage
 
offset_t data_offset = 0
 
flag_type flags
 
uint16_t movable_entry_index = 0
 
std::map< uint16_t, Relocationrelocations
 

The documentation for this class was generated from the following files: