imgtools/romtools/rombuild/r_rom.cpp
changeset 617 3a747a240983
parent 590 360bd6b35136
child 631 9435b9008a58
equal deleted inserted replaced
616:24e4ef208cca 617:3a747a240983
   458 	char* addr = anAddr;
   458 	char* addr = anAddr;
   459 	TRomExceptionSearchTable* exceptionSearchTable = 0;
   459 	TRomExceptionSearchTable* exceptionSearchTable = 0;
   460 
   460 
   461 	if(gPagedRom)
   461 	if(gPagedRom)
   462 		{ 
   462 		{ 
   463 		gDepInfoFile = iObey->iRomFileName; 
       
   464 		iObey->SetArea().DefaultArea()->SortFilesForPagedRom();
   463 		iObey->SetArea().DefaultArea()->SortFilesForPagedRom();
   465 		// exception search table needs to go at start of ROM to make it not demand paged...
   464 		// exception search table needs to go at start of ROM to make it not demand paged...
   466 		addr = ReserveRomExceptionSearchTable(addr,exceptionSearchTable);
   465 		addr = ReserveRomExceptionSearchTable(addr,exceptionSearchTable);
   467 		}
   466 		}
   468 	else if(gGenDepGraph)
   467 
   469 		{
   468 	if(gGenDepGraph)
   470 			Print(EWarning, "Not dependence information in an unpaged ROM.");
   469 		{
       
   470 			Print(ELog, "Generate dependence information in ROM.");
       
   471 			gDepInfoFile = iObey->iRomFileName; 
       
   472 			iObey->SetArea().DefaultArea()->WriteDependenceGraph();
   471 		}
   473 		}
   472 
   474 
   473 	addr=WriteDirectory(addr, aHeader);
   475 	addr=WriteDirectory(addr, aHeader);
   474 	// Aligned
   476 	// Aligned
   475 
   477