RosBE/RosBE-PPC/elfpe/coff.h
Art Yerkes 2850c14671 Fix us back up to use PE-COFF again. This is getting ridiculous, but I now
really understand everything, and freeldr moved the image mapping code to
a common area.

svn path=/trunk/tools/RosBE/; revision=688
2008-03-07 06:53:55 +00:00

23 lines
460 B
C++

#ifndef COMPDVR_COFF_H
#define COMPDVR_COFF_H
#include <vector>
#include <utility>
#include "pedef.h"
#include "util.h"
#include "objectfile.h"
#include "section.h"
class PECoffExecutable {
public:
PECoffExecutable(const ElfObjectFile &elf, const std::string &tmpFile, uint32_t filealign);
void Write(const std::string &resultFile);
private:
const ElfObjectFile &elf;
std::string tempFile;
uint32_t filealign;
};
#endif//COMPDVR_COFF_H