mirror of https://github.com/acidanthera/audk.git
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:
parent
5049fd31d6
commit
d7506e116a
|
@ -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";
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue