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

Last change on this file since 465 was 276, checked in by dai_9181, 17 years ago
File size: 716 bytes
Line 
1#pragma once
2
3
4class UserProc;
5class DllProc;
6
7
8///////////////////////
9// リロケーション情報
10///////////////////////
11class CReloc{
12public:
13 char *buffer;
14 int length;
15 DWORD NowPageRVAToReloc;
16 DWORD NowCountAddrToReloc;
17
18 CReloc();
19 ~CReloc();
20 void AllFree(void);
21 void copy(CReloc *por);
22
23private:
24 std::vector<DWORD> codeSectionAddresses;
25public:
26 void AddSchedule_CodeSection(DWORD addr);
27
28private:
29 std::vector<DWORD> dataSectionAddresses;
30public:
31 void AddSchedule_DataSection(DWORD addr);
32
33private:
34 void __add(DWORD addr);
35public:
36 void ResetRelocBuffer(void);
37};
38extern CReloc *pobj_Reloc;
39
40
41void NativeBuffer_StaticRelocation(int iStartPos,int iSize,int offset);
Note: See TracBrowser for help on using the repository browser.