Changeset 282 in dev for trunk/abdev/BasicCompiler_Common/src/Linker.cpp
- Timestamp:
- Aug 14, 2007, 11:57:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Linker.cpp
r276 r282 102 102 } 103 103 104 void Linker::ResolveVtblSchedule( long dataSectionBaseOffset ) 105 { 106 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() ) 107 { 108 if( schedule.GetType() == Schedule::Vtbl ) 109 { 110 LONG_PTR vtblAddress = schedule.GetClass().GetVtblGlobalOffset(); 111 112 nativeCode.Overwrite( 113 schedule.GetOffset(), 114 static_cast<long>( vtblAddress + imageBase + dataSectionBaseOffset ) 115 ); 116 } 117 } 118 } 119 104 120 void Linker::Link( ObjectModule &masterObjectModule ) 105 121 {
Note:
See TracChangeset
for help on using the changeset viewer.