Searched refs:sh_addr (Results 1 – 6 of 6) sorted by relevance
398 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections64()407 if ((mEhdr->e_entry >= shdr->sh_addr) && in ScanSections64()408 (mEhdr->e_entry < shdr->sh_addr + shdr->sh_size)) { in ScanSections64()409 CoffEntry = (UINT32) (mCoffOffset + mEhdr->e_entry - shdr->sh_addr); in ScanSections64()449 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections64()501 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections64()774 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr); in WriteSections64()789 (UINT32)(SecOffset + (Rel->r_offset - SecShdr->sh_addr)), in WriteSections64()791 … *(UINT64 *)Targ = *(UINT64 *)Targ - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_shndx]; in WriteSections64()797 (UINT32)(SecOffset + (Rel->r_offset - SecShdr->sh_addr)), in WriteSections64()[all …]
405 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections32()414 if ((mEhdr->e_entry >= shdr->sh_addr) && in ScanSections32()415 (mEhdr->e_entry < shdr->sh_addr + shdr->sh_size)) { in ScanSections32()416 CoffEntry = mCoffOffset + mEhdr->e_entry - shdr->sh_addr; in ScanSections32()456 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections32()509 if ((shdr->sh_addr & (shdr->sh_addralign - 1)) == 0) { in ScanSections32()761 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr); in WriteSections32()776 *(UINT32 *)Targ = *(UINT32 *)Targ - SymShdr->sh_addr in WriteSections32()784 + (mCoffSectionsOffset[Sym->st_shndx] - SymShdr->sh_addr) in WriteSections32()785 - (SecOffset - SecShdr->sh_addr); in WriteSections32()[all …]
94 Elf32_Addr sh_addr; /* Address in memory image. */ member
102 Elf64_Addr sh_addr; /* Address in memory image. */ member