Updated PeiRebase to produce a map file of the relocations done by this tool. This...
authorajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 5 Aug 2006 17:32:38 +0000 (17:32 +0000)
committerajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 5 Aug 2006 17:32:38 +0000 (17:32 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1193 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java

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