Changeset 224 in dev for trunk/abdev/BasicCompiler64/MakePeHdr.cpp
- Timestamp:
- Jul 21, 2007, 4:46:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/MakePeHdr.cpp
r223 r224 130 130 ////////////////// 131 131 // データテーブル 132 compiler.Get NativeCode().GetDataTable().Init();132 compiler.GetDataTable().Init(); 133 133 if(bDebugCompile){ 134 compiler.Get NativeCode().GetDataTable().Add( (long)0x00000002 );134 compiler.GetDataTable().Add( (long)0x00000002 ); 135 135 } 136 136 … … 923 923 924 924 //データセクションのファイル上のサイズ 925 if(compiler.Get NativeCode().GetDataTable().GetSize()%FILE_ALIGNMENT) FileSize_DataSection=compiler.GetNativeCode().GetDataTable().GetSize()+(FILE_ALIGNMENT-compiler.GetNativeCode().GetDataTable().GetSize()%FILE_ALIGNMENT);926 else FileSize_DataSection=compiler.Get NativeCode().GetDataTable().GetSize();925 if(compiler.GetDataTable().GetSize()%FILE_ALIGNMENT) FileSize_DataSection=compiler.GetDataTable().GetSize()+(FILE_ALIGNMENT-compiler.GetDataTable().GetSize()%FILE_ALIGNMENT); 926 else FileSize_DataSection=compiler.GetDataTable().GetSize(); 927 927 if(FileSize_DataSection) bUse_DataSection=1; 928 928 else bUse_DataSection=0; … … 1641 1641 if(bUse_DataSection){ 1642 1642 //データ テーブル 1643 WriteFile(hFile,compiler.Get NativeCode().GetDataTable().GetPtr(),compiler.GetNativeCode().GetDataTable().GetSize(),(DWORD *)&i2,NULL);1643 WriteFile(hFile,compiler.GetDataTable().GetPtr(),compiler.GetDataTable().GetSize(),(DWORD *)&i2,NULL); 1644 1644 i+=i2; 1645 1645 }
Note:
See TracChangeset
for help on using the changeset viewer.