| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFX86_64.h | 33 uint64_t ImageBase; variable 37 if (!ImageBase) { in getImageBase() 38 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase() 46 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase() 48 return ImageBase; in getImageBase() 60 : RuntimeDyldCOFF(MM, Resolver), ImageBase(0) {} in RuntimeDyldCOFFX86_64() 115 const uint64_t ImageBase = getImageBase(); in resolveRelocation() local 116 if (Value < ImageBase || ((Value - ImageBase) > UINT32_MAX)) { in resolveRelocation() 121 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBContext.cpp | 27 ErrorOr<uint64_t> ImageBase = Object.getImageBase(); in PDBContext() local 28 if (ImageBase) in PDBContext() 29 Session->setLoadAddress(ImageBase.get()); in PDBContext()
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Chunks.cpp | 107 case IMAGE_REL_AMD64_ADDR32: add32(Off, S + Config->ImageBase); break; in applyRelX64() 108 case IMAGE_REL_AMD64_ADDR64: add64(Off, S + Config->ImageBase); break; in applyRelX64() 128 case IMAGE_REL_I386_DIR32: add32(Off, S + Config->ImageBase); break; in applyRelX86() 194 case IMAGE_REL_ARM_ADDR32: add32(Off, SX + Config->ImageBase); break; in applyRelARM() 196 case IMAGE_REL_ARM_MOV32T: applyMOV32T(Off, SX + Config->ImageBase); break; in applyRelARM() 305 case IMAGE_REL_ARM64_ADDR32: add32(Off, S + Config->ImageBase); break; in applyRelARM64() 307 case IMAGE_REL_ARM64_ADDR64: add64(Off, S + Config->ImageBase); break; in applyRelARM64() 645 ImpSymbol->getRVA() + Config->ImageBase); in writeTo() 655 applyMOV32T(Buf + OutputSectionOff, ImpSymbol->getRVA() + Config->ImageBase); in writeTo() 712 write64le(Buf + OutputSectionOff, Sym->getRVA() + Config->ImageBase); in writeTo() [all …]
|
| H A D | DLL.cpp | 304 write32le(Buf + OutputSectionOff + 3, Imp->getRVA() + Config->ImageBase); in writeTo() 305 write32le(Buf + OutputSectionOff + 8, Desc->getRVA() + Config->ImageBase); in writeTo() 328 applyMOV32T(Buf + OutputSectionOff + 0, Imp->getRVA() + Config->ImageBase); in writeTo() 329 applyMOV32T(Buf + OutputSectionOff + 22, Desc->getRVA() + Config->ImageBase); in writeTo() 375 write64le(Buf + OutputSectionOff, Thunk->getRVA() + Config->ImageBase); in writeTo() 381 write32le(Buf + OutputSectionOff, (Thunk->getRVA() + Config->ImageBase) | Bit); in writeTo()
|
| H A D | Driver.cpp | 713 if (M.ImageBase) in parseModuleDefs() 714 Config->ImageBase = M.ImageBase; in parseModuleDefs() 1099 parseNumbers(Arg->getValue(), &Config->ImageBase); in link() 1496 if (Config->ImageBase == uint64_t(-1)) in link() 1497 Config->ImageBase = getDefaultImageBase(); in link()
|
| H A D | Config.h | 179 uint64_t ImageBase = -1; member
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | peXXigen.c | 420 a->ImageBase = GET_OPTHDR_IMAGE_BASE (abfd, src->ImageBase); in _bfd_XXi_swap_aouthdr_in() 480 aouthdr_int->entry += a->ImageBase; in _bfd_XXi_swap_aouthdr_in() 565 ib = extra->ImageBase; in _bfd_XXi_swap_aouthdr_out() 667 isize = (sec->vma - extra->ImageBase in _bfd_XXi_swap_aouthdr_out() 699 PUT_OPTHDR_IMAGE_BASE (abfd, extra->ImageBase, aouthdr_out->ImageBase); in _bfd_XXi_swap_aouthdr_out() 1100 addr += extra->ImageBase; in pe_print_idata() 1190 adj = section->vma - extra->ImageBase; in pe_print_idata() 1241 ft_addr = first_thunk + extra->ImageBase; in pe_print_idata() 1418 addr += extra->ImageBase; in pe_print_edata() 1913 fprintf_vma (file, i->ImageBase); in _bfd_XX_print_private_bfd_data_common() [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-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()
|
| H A D | coff-ppc.c | 1241 addr -= pe_data(output_bfd)->pe_opthdr.ImageBase; 1346 pe_data(output_bfd)->pe_opthdr.ImageBase; 1402 pe_data(output_bfd)->pe_opthdr.ImageBase; 1421 pe_data (output_bfd)->pe_opthdr.ImageBase, 1462 addr -= pe_data (output_bfd)->pe_opthdr.ImageBase; 1900 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
|
| H A D | pe-mips.c | 448 *addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase; in coff_mips_rtype_to_howto() 817 - pe_data (input_section->output_section->owner)->pe_opthdr.ImageBase; in coff_pe_mips_relocate_section()
|
| /freebsd-12.1/contrib/binutils/include/coff/ |
| H A D | pe.h | 241 char ImageBase[4]; member 280 char ImageBase[8]; member
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | Target.cpp | 181 if (Config->ImageBase) in getImageBase() 182 return *Config->ImageBase; in getImageBase()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/COFF/ |
| H A D | Object.h | 121 Dest.ImageBase = Src.ImageBase; in copyPeHeader()
|
| /freebsd-12.1/stand/efi/loader/arch/amd64/ |
| H A D | start.S | 49 lea ImageBase(%rip), %rdi
|
| H A D | ldscript.amd64 | 9 ImageBase = .;
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | COFFModuleDefinition.h | 32 uint64_t ImageBase = 0; member
|
| /freebsd-12.1/stand/efi/loader/arch/i386/ |
| H A D | start.S | 52 addl $ImageBase-0b, %eax
|
| H A D | ldscript.i386 | 9 ImageBase = .;
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/ |
| H A D | SymbolizableObjectFile.cpp | 123 uint64_t ImageBase = CoffObj->getImageBase(); in addCoffExportSymbols() local 128 uint64_t SymbolStart = ImageBase + Export.Offset; in addCoffExportSymbols()
|
| /freebsd-12.1/stand/efi/loader/arch/arm64/ |
| H A D | start.S | 156 adr x0, ImageBase
|
| H A D | ldscript.arm64 | 11 ImageBase = .;
|
| /freebsd-12.1/stand/efi/loader/arch/arm/ |
| H A D | ldscript.arm | 8 ImageBase = .;
|
| H A D | start.S | 177 .word ImageBase
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objdump/ |
| H A D | COFFDump.cpp | 242 uint32_t ImageBase = PE32Header->ImageBase; in printSEHTable() local 248 outs() << format(" 0x%x", P[I] + ImageBase); in printSEHTable()
|