Changeset 359 in dev for trunk/abdev/BasicCompiler_Common/src/Linker.cpp
- Timestamp:
- Nov 9, 2007, 8:52:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Linker.cpp
r357 r359 44 44 if( schedule.GetType() == Schedule::CatchAddress ) 45 45 { 46 nativeCode.Overwrite( 47 schedule.GetOffset(), 48 static_cast<long>( nativeCode.GetLong( schedule.GetOffset() ) + schedule.GetUserProc().GetBeginOpAddress() + imageBase + codeSectionBaseOffset ) 49 ); 46 if( nativeCode.GetLong( schedule.GetOffset() ) != 0 ) 47 { 48 // 置き換える値が0の場合を除く 49 nativeCode.Overwrite( 50 schedule.GetOffset(), 51 static_cast<long>( nativeCode.GetLong( schedule.GetOffset() ) + schedule.GetUserProc().GetBeginOpAddress() + imageBase + codeSectionBaseOffset ) 52 ); 53 } 50 54 } 51 55 }
Note:
See TracChangeset
for help on using the changeset viewer.