Home
last modified time | relevance | path

Searched refs:sh_addralign (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf64Convert.c368 if (shdr->sh_addralign <= mCoffAlignment) { in ScanSections64()
372 mCoffAlignment = (UINT32)shdr->sh_addralign; in ScanSections64()
396 if ((shdr->sh_addralign != 0) && (shdr->sh_addralign != 1)) { in ScanSections64()
398 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections64()
400 … mCoffOffset = (UINT32) ((mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1)); in ScanSections64()
447 if ((shdr->sh_addralign != 0) && (shdr->sh_addralign != 1)) { in ScanSections64()
449 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections64()
451 … mCoffOffset = (UINT32) ((mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1)); in ScanSections64()
499 if ((shdr->sh_addralign != 0) && (shdr->sh_addralign != 1)) { in ScanSections64()
501 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections64()
[all …]
DElf32Convert.c375 if (shdr->sh_addralign <= mCoffAlignment) { in ScanSections32()
379 mCoffAlignment = (UINT32)shdr->sh_addralign; in ScanSections32()
403 if ((shdr->sh_addralign != 0) && (shdr->sh_addralign != 1)) { in ScanSections32()
405 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections32()
407 mCoffOffset = (mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1); in ScanSections32()
454 if ((shdr->sh_addralign != 0) && (shdr->sh_addralign != 1)) { in ScanSections32()
456 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections32()
458 mCoffOffset = (mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1); in ScanSections32()
507 if ((shdr->sh_addralign != 0) && (shdr->sh_addralign != 1)) { in ScanSections32()
509 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections32()
[all …]
Delf32.h99 Elf32_Word sh_addralign; /* Alignment in bytes. */ member
Delf64.h107 Elf64_Xword sh_addralign; /* Alignment in bytes. */ member
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
Delf32.h99 Elf32_Word sh_addralign; /* Alignment in bytes. */ member
Delf64.h107 Elf64_Xword sh_addralign; /* Alignment in bytes. */ member