Esempio n. 1
0
void ObjPass2( void )
/**************************/
/* Pass 2 of 8086 linker. */
{
    DEBUG(( DBG_BASE, "ObjPass2()" ));
    IncP2Start();
    WalkAllSects( DBIP2Start );
    CurrSect = Root;/*  TAI */
    PModList( Root->mods );
    OvlPass2();
    if( (FmtData.type & MK_OVERLAYS) && FmtData.u.dos.distribute ) {
        ProcDistMods();
    } else {
        CurrSect = Root;
        PModList( LibModules );
    }
    WriteUndefined();
    if( FmtData.type & MK_OVERLAYS ) {
        SetOvlStartAddr();
    }
    WalkAllSects( DBIFini );
}
Esempio n. 2
0
static void PSection( section *sec )
/***********************************/
{
    CurrSect = sec;
    PModList( sec->mods );
}