Updated PeiRebase to produce a map file of the relocations done by this tool. This code passes in the map file name as the same name as the FV with a .map appended to the end.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1193 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ajfish 2006-08-05 17:32:38 +00:00
parent 5049fd31d6
commit d7506e116a
1 changed files with 3 additions and 2 deletions

View File

@ -104,9 +104,10 @@ public class PeiReBaseTask extends Task implements EfiDefine {
File file = new File(outputFile);
if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {
argument = inputFile + " " + "-O " + outputDir + File.separatorChar
+ outputFile + " " + this.baseAddr;
+ outputFile + " " + this.baseAddr + " "
+ "-M " + outputDir + + File.separatorChar + outputFile + ".map";
} else {
argument = inputFile + " " + "-O " + outputFile + " " + this.baseAddr;
argument = inputFile + " " + "-O " + outputFile + " " + this.baseAddr+ " " + "-M " + outputFile + ".map";
}
//