coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

ObjectFileBSS Class Reference

The class ObjectFileBSS contains the description of the uninitialized data area of a program. More...

#include <ObjectFileImp.h>

Inheritance diagram for ObjectFileBSS

Inheritance graph
[legend]
Collaboration diagram for ObjectFileBSS:

Collaboration graph
[legend]
List of all members.

Public Types

typedef DataChunk inherited

Public Methods

 ObjectFileBSS ()
 ~ObjectFileBSS ()
void setSize (unsigned long size) throw ()
unsigned long getSize ()const throw ()
void setBaseAddress (unsigned long address) throw ()
unsigned long getBaseAddress ()const throw ()
virtual unsigned long getStreamSize ()
virtual unsigned long getStreamChunk ()
virtual void write (OutputStreamWriterNDR &os)
virtual void read (InputStreamWriterNDR &is)

Protected Attributes

unsigned long m_nBaseAddress
unsigned long m_nSize

Detailed Description

The class ObjectFileBSS contains the description of the uninitialized data area of a program.

In old Atari ST times this segment of the program was called the BSS segment (I'm not remembering what the shortcut stands for).

ObjectFile -- CODE (1 per file, mandatory) \begin{verbatim} Offset Size Type Comment --------------------------------------------------------- 0 4 Byte fourcc 'BSS_' 4 4 Byte int32 size of the chunk 8 4 Byte int32 bss baseaddress 12 4 Byte int32 size of the bss area 16 x Byte byte subchunks (containing relocate infos) --------------------------------------------------------- \end{verbatim}

Subchunk 'RLOC' \begin{verbatim} Offset Size Type Comment --------------------------------------------------------- 0 4 Byte fourcc 'RLOC' (ReLOCate) 4 4 Byte int32 size of the chunk 8 4 Byte int32 base address (1st address to patch) 12 4 Byte int32 number of patches 16 x Byte byte delta address offsets from base address in acending order of addresses --------------------------------------------------------- (string is always /0 terminated) \end{verbatim}


The documentation for this class was generated from the following file:
  • ObjectFileImp.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: