Home
last modified time | relevance | path

Searched refs:ImageBase (Results 1 – 25 of 73) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF_x86_64.cpp196 auto ImageBase = getImageBaseAddress(G, Ctx); in lowerCOFFRelocationEdges() local
197 if (!ImageBase) in lowerCOFFRelocationEdges()
198 return ImageBase.takeError(); in lowerCOFFRelocationEdges()
199 E.setAddend(E.getAddend() - *ImageBase); in lowerCOFFRelocationEdges()
243 if (this->ImageBase) in getImageBaseAddress()
244 return this->ImageBase; in getImageBaseAddress()
247 this->ImageBase = S->getAddress().getValue(); in getImageBaseAddress()
248 return this->ImageBase; in getImageBaseAddress()
253 JITTargetAddress ImageBase; in getImageBaseAddress() local
263 ImageBase = ImageBaseSymbol.getAddress(); in getImageBaseAddress()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h32 uint64_t ImageBase; variable
36 if (!ImageBase) { in getImageBase()
37 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase()
45 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase()
47 return ImageBase; in getImageBase()
60 ImageBase(0) {} in RuntimeDyldCOFFX86_64()
115 const uint64_t ImageBase = getImageBase(); in resolveRelocation() local
116 if (Value < ImageBase || ((Value - ImageBase) > UINT32_MAX)) in resolveRelocation()
120 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
H A DRuntimeDyldCOFFAArch64.h71 uint64_t ImageBase; variable
75 if (!ImageBase) { in getImageBase()
76 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase()
84 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase()
86 return ImageBase; in getImageBase()
93 ImageBase(0) {} in RuntimeDyldCOFFAArch64()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp28 ErrorOr<uint64_t> ImageBase = Object.getImageBase(); in PDBContext() local
29 if (ImageBase) in PDBContext()
30 Session->setLoadAddress(ImageBase.get()); in PDBContext()
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A DpeXXigen.c410 a->ImageBase = GET_OPTHDR_IMAGE_BASE (abfd, src->ImageBase); in _bfd_XXi_swap_aouthdr_in()
458 aouthdr_int->entry += a->ImageBase; in _bfd_XXi_swap_aouthdr_in()
466 aouthdr_int->text_start += a->ImageBase; in _bfd_XXi_swap_aouthdr_in()
476 aouthdr_int->data_start += a->ImageBase; in _bfd_XXi_swap_aouthdr_in()
543 ib = extra->ImageBase; in _bfd_XXi_swap_aouthdr_out()
640 isize = (sec->vma - extra->ImageBase in _bfd_XXi_swap_aouthdr_out()
672 PUT_OPTHDR_IMAGE_BASE (abfd, extra->ImageBase, aouthdr_out->ImageBase); in _bfd_XXi_swap_aouthdr_out()
855 - pe_data (abfd)->pe_opthdr.ImageBase) in _bfd_XXi_swap_scnhdr_out()
1073 addr += extra->ImageBase; in pe_print_idata()
1163 adj = section->vma - extra->ImageBase; in pe_print_idata()
[all …]
H A Dcoff-i386.c137 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase;
517 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
H A Dcoff-mcore.c237 addr -= pe_data (output_bfd)->pe_opthdr.ImageBase;
309 * addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase;
H A Dcoff-x86_64.c129 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; in coff_amd64_reloc()
608 *addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase; in coff_amd64_rtype_to_howto()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A DpeXXigen.c453 a->ImageBase = GET_OPTHDR_IMAGE_BASE (abfd, src->ImageBase);
501 aouthdr_int->entry += a->ImageBase;
509 aouthdr_int->text_start += a->ImageBase;
519 aouthdr_int->data_start += a->ImageBase;
590 ib = extra->ImageBase;
682 isize = (sec->vma - extra->ImageBase
714 PUT_OPTHDR_IMAGE_BASE (abfd, extra->ImageBase, aouthdr_out->ImageBase);
906 - pe_data (abfd)->pe_opthdr.ImageBase)
1136 addr += extra->ImageBase;
1219 adj = section->vma - extra->ImageBase;
[all …]
H A Dcoff-i386.c135 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase;
498 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
H A Dcoff-x86_64.c129 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; in coff_amd64_reloc()
608 *addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase; in coff_amd64_rtype_to_howto()
/openbsd-src/gnu/usr.bin/binutils-2.17/include/coff/
H A Dpe.h238 char ImageBase[4]; member
276 char ImageBase[8]; member
/openbsd-src/gnu/usr.bin/binutils/include/coff/
H A Dpe.h238 char ImageBase[4]; member
276 char ImageBase[8]; member
/openbsd-src/sys/arch/amd64/stand/efiboot/
H A Dstart_amd64.S49 lea ImageBase(%rip), %rdi
H A Dstart_i386.S52 addl $ImageBase-0b, %eax
H A Dldscript.amd648 ImageBase = .;
H A Dldscript.i3867 ImageBase = .;
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DCOFFModuleDefinition.h31 uint64_t ImageBase = 0; member
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.h184 Dest.ImageBase = Src.ImageBase; in copyPeHeader()
/openbsd-src/sys/arch/riscv64/stand/efiboot/
H A Dstart.S159 la a0, ImageBase
H A Dldscript.riscv6411 ImageBase = .;
/openbsd-src/sys/arch/arm64/stand/efiboot/
H A Dstart.S163 adr x0, ImageBase
H A Dldscript.arm648 ImageBase = .;
/openbsd-src/sys/arch/armv7/stand/efiboot/
H A Dldscript.arm8 ImageBase = .;
H A Dstart.S178 .word ImageBase

123