Home
last modified time | relevance | path

Searched refs:sh_addr (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dsection-align2.test30 ## sh_addr is aligned to 16.
34 ## The output section address is set without ALIGN. sh_addr is set to Dot, ignoring alignment.
37 ## sh_addr is aligned to 32.
40 ## sh_addr is aligned to 16.
H A Dtls-nobits-offset.s12 ## sh_offset to sh_addr modulo p_align, so that p_vaddr=p_offset (mod
H A Dnobits-offset.s12 ## sh_offset to sh_addr modulo max-page-size, so that p_vaddr=p_offset (mod
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h441 if (Address >= Sec.sh_addr && Address < Sec.sh_addr + Sec.sh_size) in findSectionContainingAddress()
501 ? PREL31(Word, EHT.sh_addr) in PrintExceptionTable()
502 : PREL31(Word, EHT.sh_addr + TableEntryOffset); in PrintExceptionTable()
569 ? PREL31(Word0, IT->sh_addr) in PrintIndexTable()
570 : PREL31(Word0, IT->sh_addr + Entry * IndexTableEntrySize); in PrintIndexTable()
598 TableEntryAddress = PREL31(Word1, IT->sh_addr); in PrintIndexTable()
602 PREL31(Word1, IT->sh_addr + Entry * IndexTableEntrySize + 4); in PrintIndexTable()
617 PrintExceptionTable(*EHT, TableEntryAddress - EHT->sh_addr); in PrintIndexTable()
H A DDwarfCFIEHPrinter.h57 if (Shdr.sh_addr == Addr) in findSectionByAddress()
175 uint64_t Address = EHFrameShdr->sh_addr; in printEHFrame()
H A DELFDumper.cpp982 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress()
1748 if (DynamicSec->sh_addr + DynamicSec->sh_size > in findDynamic()
1750 DynamicSec->sh_addr < DynamicPhdr->p_vaddr) in findDynamic()
1755 if (DynamicSec->sh_addr != DynamicPhdr->p_vaddr) in findDynamic()
2913 return GotSec->sh_addr + 0x7ff0; in getGp()
2962 return GotSec->sh_addr + Offset; in getGotAddress()
3001 return PltSec->sh_addr + Offset; in getPltAddress()
4227 if (Sec.sh_addr < Phdr.p_vaddr) in checkVMA()
4236 return Sec.sh_addr + 1 <= Phdr.p_vaddr + Phdr.p_memsz; in checkVMA()
4253 (Sec.sh_addr > Phdr.p_vaddr && Sec.sh_addr < Phdr.p_memsz); in checkPTDynamic()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dbinary-paddr.test5 ## difference equals the difference between their sh_addr fields.
43 ## The computed LMA of a section not in a PT_LOAD equals its sh_addr.
68 ## Not in a PT_LOAD. LMA = sh_addr = 0x1000.
88 ## Check that we use sh_offset instead of sh_addr to decide where to write section contents.
113 ## Not in a PT_LOAD. LMA = sh_addr = 0x1000.
120 ## sh_addr is increased from 0x2000 to 0x3000, but it is ignored.
/llvm-project-15.0.7/lld/test/ELF/
H A Dnobits-offset.s8 ## sh_offset to sh_addr modulo max-page-size, so that p_vaddr=p_offset (mod
H A Dtls-nobits-offset.s8 ## sh_offset to sh_addr modulo p_align, so that p_vaddr=p_offset (mod
/llvm-project-15.0.7/lld/docs/ELF/
H A Dlinker_script.rst90 When an *OutputSection* *S* has ``address``, LLD will set sh_addr to ``address``.
94 > The value of sh_addr must be congruent to 0, modulo the value of sh_addralign.
98 sh_addr=0 (modulo sh_addralign).
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp71 Header->sh_addr = in setTargetMemoryRange()
95 Name, &Header->sh_addr, Start, End), in validateInBounds()
109 if (auto Addr = static_cast<JITTargetAddress>(Header->sh_addr)) { in dump()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h163 elf_addr sh_addr; ///< Virtual address of the section in memory. member
H A DELFHeader.cpp238 if (!GetMaxU64(data, offset, &sh_addr, byte_size, 3)) in Parse()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELFLinkGraphBuilder.h332 orc::ExecutorAddr(Sec.sh_addr), in graphifySections()
336 orc::ExecutorAddr(Sec.sh_addr), in graphifySections()
H A DELF_x86_64.cpp241 auto FixupAddress = orc::ExecutorAddr(FixupSection.sh_addr) + Rel.r_offset; in addSingleRelocation()
H A DELF_aarch64.cpp166 orc::ExecutorAddr(FixupSect.sh_addr) + Rel.r_offset; in addSingleRelocation()
/llvm-project-15.0.7/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp291 StrTab.Shdr.sh_addr = StrTab.Addr; in fillStrTabShdr()
304 SymTab.Shdr.sh_addr = SymTab.Addr; in fillSymTabShdr()
320 DynTab.Shdr.sh_addr = DynTab.Addr; in fillDynTabShdr()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml1 ## Test that yaml2obj automatically assigns sh_addr to allocatable sections for ET_EXEC/ET_DYN file…
/llvm-project-15.0.7/openmp/libomptarget/plugins/generic-elf-64bit/src/
H A Drtl.cpp177 EntriesOffset = Hdr.sh_addr; in __tgt_rtl_load_binary()
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/DWARF/
H A Ddebug-str.yaml25 ## Override the sh_addr field.
H A Ddebug-addr.yaml110 ## Override the sh_addr field.
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DELF.h935 Elf32_Addr sh_addr; // Address where section is to be loaded member
949 Elf64_Addr sh_addr; member
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFTypes.h153 Elf_Addr sh_addr; // Address where section is to be loaded
168 Elf_Addr sh_addr; // Address where section is to be loaded
H A DELFObjectFile.h608 Result += Section->sh_addr; in getSymbolAddress()
835 return getSection(Sec)->sh_addr; in getSectionAddress()
921 if (is_contained(Offsets, Sec.sh_addr)) in dynamic_relocation_sections()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Delf2yaml.cpp451 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
452 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
786 if (Shdr->sh_addr) in dumpCommonSection()
787 S.Address = static_cast<uint64_t>(Shdr->sh_addr); in dumpCommonSection()

12