23#ifndef BACKENDS_PLUGINS_MIPS_LOADER_H
24#define BACKENDS_PLUGINS_MIPS_LOADER_H
26#include "common/scummsys.h"
28#if defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(MIPS_TARGET)
30#include "backends/plugins/elf/elf-loader.h"
31#include "backends/plugins/elf/shorts-segment-manager.h"
33class MIPSDLObject :
public DLObject {
35 ShortSegmentManager::Segment *_shortsSegment;
38 virtual bool relocate(Elf32_Off offset, Elf32_Word size,
byte *relSegment);
39 virtual bool relocateRels(Elf32_Ehdr *ehdr, Elf32_Shdr *shdr);
40 virtual void relocateSymbols(ptrdiff_t offset);
41 virtual bool loadSegment(Elf32_Phdr *phdr);
42 virtual void unload();
44 void freeShortsSegment();
49 _shortsSegment = NULL;
Definition: dcloader.h:29