| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFF_x86_64.cpp | 196 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 D | RuntimeDyldCOFFX86_64.h | 32 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 D | RuntimeDyldCOFFAArch64.h | 71 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 D | PDBContext.cpp | 28 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 D | peXXigen.c | 410 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 D | coff-i386.c | 137 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; 517 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
|
| H A D | coff-mcore.c | 237 addr -= pe_data (output_bfd)->pe_opthdr.ImageBase; 309 * addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase;
|
| H A D | coff-x86_64.c | 129 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 D | peXXigen.c | 453 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 D | coff-i386.c | 135 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; 498 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
|
| H A D | coff-x86_64.c | 129 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 D | pe.h | 238 char ImageBase[4]; member 276 char ImageBase[8]; member
|
| /openbsd-src/gnu/usr.bin/binutils/include/coff/ |
| H A D | pe.h | 238 char ImageBase[4]; member 276 char ImageBase[8]; member
|
| /openbsd-src/sys/arch/amd64/stand/efiboot/ |
| H A D | start_amd64.S | 49 lea ImageBase(%rip), %rdi
|
| H A D | start_i386.S | 52 addl $ImageBase-0b, %eax
|
| H A D | ldscript.amd64 | 8 ImageBase = .;
|
| H A D | ldscript.i386 | 7 ImageBase = .;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | COFFModuleDefinition.h | 31 uint64_t ImageBase = 0; member
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.h | 184 Dest.ImageBase = Src.ImageBase; in copyPeHeader()
|
| /openbsd-src/sys/arch/riscv64/stand/efiboot/ |
| H A D | start.S | 159 la a0, ImageBase
|
| H A D | ldscript.riscv64 | 11 ImageBase = .;
|
| /openbsd-src/sys/arch/arm64/stand/efiboot/ |
| H A D | start.S | 163 adr x0, ImageBase
|
| H A D | ldscript.arm64 | 8 ImageBase = .;
|
| /openbsd-src/sys/arch/armv7/stand/efiboot/ |
| H A D | ldscript.arm | 8 ImageBase = .;
|
| H A D | start.S | 178 .word ImageBase
|