Finished initial abstraction of ELF-loader (works for DS)

svn-id: r51233
This commit is contained in:
Tony Puccinelli 2010-07-24 02:07:35 +00:00
parent c39ca58683
commit 5d8f4b5062
6 changed files with 615 additions and 15 deletions

View file

@ -29,13 +29,13 @@
#include "loader.h"
#include "shorts-segment-manager.h"
class MIPS_DLObject : public DLObject {
class MipsDLObject : public DLObject {
protected:
ShortSegmentManager::Segment *_shortsSegment; // For assigning shorts ranges
unsigned int _gpVal; // Value of Global Pointer
public:
MIPS_DLObject(char *errbuf = NULL) : _errbuf(_errbuf), _shortsSegment(NULL), _segment(NULL), _symtab(NULL),
MipsDLObject(char *errbuf = NULL) : _errbuf(_errbuf), _shortsSegment(NULL), _segment(NULL), _symtab(NULL),
_strtab(NULL), _symbol_cnt(0), _symtab_sect(-1), _dtors_start(NULL), _dtors_end(NULL), _gpVal(0) ,
_segmentSize(0) {}
};