Home
last modified time | relevance | path

Searched refs:mCoffAlignment (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf64Convert.c100 STATIC UINT32 mCoffAlignment = 0x20; variable
211 return (Offset + mCoffAlignment - 1) & ~(mCoffAlignment - 1); in CoffAlign()
304 if (shdr->sh_addralign <= mCoffAlignment) { in ScanSections64()
308 mCoffAlignment = (UINT32)shdr->sh_addralign; in ScanSections64()
316 if (mCoffAlignment > mCoffOffset) { in ScanSections64()
317 mNtHdrOffset += mCoffAlignment - mCoffOffset; in ScanSections64()
318 mTableOffset += mCoffAlignment - mCoffOffset; in ScanSections64()
319 mCoffOffset = mCoffAlignment; in ScanSections64()
512 NtHdr->Pe32Plus.OptionalHeader.SectionAlignment = mCoffAlignment; in ScanSections64()
513 NtHdr->Pe32Plus.OptionalHeader.FileAlignment = mCoffAlignment; in ScanSections64()
[all …]
DElf32Convert.c99 STATIC UINT32 mCoffAlignment = 0x20; variable
218 return (Offset + mCoffAlignment - 1) & ~(mCoffAlignment - 1); in CoffAlign()
310 if (shdr->sh_addralign <= mCoffAlignment) { in ScanSections32()
314 mCoffAlignment = (UINT32)shdr->sh_addralign; in ScanSections32()
322 if (mCoffAlignment > mCoffOffset) { in ScanSections32()
323 mNtHdrOffset += mCoffAlignment - mCoffOffset; in ScanSections32()
324 mTableOffset += mCoffAlignment - mCoffOffset; in ScanSections32()
325 mCoffOffset = mCoffAlignment; in ScanSections32()
516 NtHdr->Pe32.OptionalHeader.SectionAlignment = mCoffAlignment; in ScanSections32()
517 NtHdr->Pe32.OptionalHeader.FileAlignment = mCoffAlignment; in ScanSections32()
[all …]