source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/PESchedule.h@ 829

Last change on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain; charset=Shift_JIS
File size: 642 bytes
Line 
1#pragma once
2
3
4///////////////////////
5// リロケーション情報
6///////////////////////
7class CReloc{
8public:
9 char *buffer;
10 int length;
11 DWORD NowPageRVAToReloc;
12 DWORD NowCountAddrToReloc;
13
14 CReloc();
15 ~CReloc();
16 void AllFree(void);
17 void copy(CReloc *por);
18
19private:
20 std::vector<DWORD> codeSectionAddresses;
21public:
22 void AddSchedule_CodeSection(DWORD addr);
23
24private:
25 std::vector<DWORD> dataSectionAddresses;
26public:
27 void AddSchedule_DataSection(DWORD addr);
28
29private:
30 void __add(DWORD addr);
31public:
32 void ResetRelocBuffer(void);
33};
34extern CReloc *pobj_Reloc;
35
36
37void NativeBuffer_StaticRelocation(int iStartPos,int iSize,int offset);
Note: See TracBrowser for help on using the repository browser.