Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf64Convert.c659 Elf_Shdr *SymShdr; in WriteSections64() local
671 SymShdr = GetShdrByIndex(Sym->st_shndx); in WriteSections64()
700 … *(UINT64 *)Targ = *(UINT64 *)Targ - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_shndx]; in WriteSections64()
708 …*(UINT32 *)Targ = (UINT32)((UINT64)(*(UINT32 *)Targ) - SymShdr->sh_addr + mCoffSectionsOffset[Sym-… in WriteSections64()
716 …*(INT32 *)Targ = (INT32)((INT64)(*(INT32 *)Targ) - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_… in WriteSections64()
728 + (mCoffSectionsOffset[Sym->st_shndx] - SymShdr->sh_addr) in WriteSections64()
757 ((SymShdr->sh_addr ^ mCoffSectionsOffset[Sym->st_shndx]) & 0xfff) != 0 || in WriteSections64()
784 if ((SymShdr->sh_addr - SecShdr->sh_addr) != in WriteSections64()
793 … *(UINT64 *)Targ = *(UINT64 *)Targ - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_shndx]; in WriteSections64()
DElf32Convert.c661 Elf_Shdr *SymShdr; in WriteSections32() local
674 SymShdr = GetShdrByIndex(Sym->st_shndx); in WriteSections32()
698 *(UINT32 *)Targ = *(UINT32 *)Targ - SymShdr->sh_addr in WriteSections32()
706 + (mCoffSectionsOffset[Sym->st_shndx] - SymShdr->sh_addr) in WriteSections32()
760 … Address = (UINT16)(Sym->st_value - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_shndx]); in WriteSections32()
766 … Address = (UINT16)((Sym->st_value - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_shndx]) >> 16); in WriteSections32()
775 … *(UINT32 *)Targ = *(UINT32 *)Targ - SymShdr->sh_addr + mCoffSectionsOffset[Sym->st_shndx]; in WriteSections32()