\r
#Get PE Section alignment when align is set to AUTO\r
if self.Alignment == 'Auto' and (SectionType == BINARY_FILE_TYPE_PE32 or SectionType == BINARY_FILE_TYPE_TE):\r
- ImageObj = PeImageClass (File)\r
- if ImageObj.SectionAlignment < 0x400:\r
- Align = str (ImageObj.SectionAlignment)\r
- elif ImageObj.SectionAlignment < 0x100000:\r
- Align = str (ImageObj.SectionAlignment // 0x400) + 'K'\r
- else:\r
- Align = str (ImageObj.SectionAlignment // 0x100000) + 'M'\r
-\r
+ Align = "0"\r
if File[(len(File)-4):] == '.efi' and FfsInf.InfModule.BaseName == os.path.basename(File)[:-4]:\r
MapFile = File.replace('.efi', '.map')\r
CopyMapFile = os.path.join(OutputPath, ModuleName + '.map')\r