Skip to content

Commit

Permalink
wlink: improved separation of processing code from map file output code
Browse files Browse the repository at this point in the history
rename symbols to be more transparent
  • Loading branch information
jmalak committed Apr 26, 2024
1 parent e3ec240 commit 7bb19fd
Show file tree
Hide file tree
Showing 8 changed files with 291 additions and 280 deletions.
4 changes: 3 additions & 1 deletion bld/wl/c/linkutil.c
Expand Up @@ -98,7 +98,9 @@ void CheckErr( void )
/**************************/
{
if( LinkState & ( LS_LINK_ERROR | LS_STOP_WORKING ) ) {
WriteMapLibsUsed();
if( MapFlags & MAP_FLAG ) {
WriteMapLibsUsed();
}
Suicide();
}
}
Expand Down
4 changes: 3 additions & 1 deletion bld/wl/c/loadfile.c
Expand Up @@ -351,7 +351,9 @@ void FiniLoadFile( void )
OpenOutFiles();
SetupImpLib();
finiLoad();
WriteMapSizes();
if( MapFlags & MAP_FLAG ) {
WriteMapSizes();
}
CloseOutFiles();
DoCVPack();
}
Expand Down

0 comments on commit 7bb19fd

Please sign in to comment.