summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-05 17:32:38 +0000
committerajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-05 17:32:38 +0000
commitd7506e116ace59bd37165137a6de1aa6d0fb50fa (patch)
treed75ef43e3e5d7117574d4027d387a11a92a6b84f
parent5049fd31d6b79c5cfabc9d7c9d971d4c1720a6bf (diff)
downloadedk2-d7506e116ace59bd37165137a6de1aa6d0fb50fa.zip
edk2-d7506e116ace59bd37165137a6de1aa6d0fb50fa.tar.gz
edk2-d7506e116ace59bd37165137a6de1aa6d0fb50fa.tar.bz2
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
-rw-r--r--Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java
index ec74651..c479e0d 100644
--- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java
+++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java
@@ -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";
}
//