Changeset 258 in dev for trunk/abdev/BasicCompiler_Common/src/Linker.cpp
- Timestamp:
- Aug 2, 2007, 11:23:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Linker.cpp
r257 r258 20 20 21 21 // DLL関数スケジュール 22 void Linker::ResolveDllProcSchedules( long codeSectionBaseOffset, long importSectionBaseOffset )22 void Linker::ResolveDllProcSchedules( long codeSectionBaseOffset, long importSectionBaseOffset, long lookupSize, long hintSize ) 23 23 { 24 24 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() ) … … 33 33 ); 34 34 #else 35 // TODO: 未完成 36 SetError(); 35 nativeCode.Overwrite( 36 schedule.GetOffset(), 37 static_cast<long>( imageBase + importSectionBaseOffset + lookupSize + hintSize 38 + schedule.GetDllProc().GetLookupAddress() ) 39 ); 37 40 #endif 38 41 } … … 106 109 ObjectModule &masterObjectModule = *objectModules[0]; 107 110 108 nativeCode.Put( masterObjectModule.globalNativeCode );111 nativeCode.Put( masterObjectModule.globalNativeCode, false ); 109 112 110 113 masterObjectModule.meta.GetUserProcs().Iterator_Reset(); … … 117 120 pUserProc->SetBeginOpAddress( nativeCode.GetSize() ); 118 121 119 nativeCode.Put( pUserProc->GetNativeCode() );122 nativeCode.Put( pUserProc->GetNativeCode(), false ); 120 123 121 124 pUserProc->SetEndOpAddress( nativeCode.GetSize() );
Note:
See TracChangeset
for help on using the changeset viewer.