From: ajfish Date: Sat, 5 Aug 2006 17:32:38 +0000 (+0000) Subject: Updated PeiRebase to produce a map file of the relocations done by this tool. This... X-Git-Tag: edk2-stable201903~24679 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d7506e116ace59bd37165137a6de1aa6d0fb50fa 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 --- diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java index ec74651cd0..c479e0d334 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"; } //