/external/llvm-project/lld/ELF/ |
D | OutputSections.cpp | 59 shdr->sh_entsize = entsize; in writeHeaderTo() 119 entsize = isec->entsize; in commitSection() 156 if (entsize != isec->entsize) in commitSection() 157 entsize = 0; in commitSection() 197 return sec->flags == ms->flags && sec->entsize == ms->entsize && in finalizeInputSections() 205 syn->entsize = ms->entsize; in finalizeInputSections()
|
D | InputSection.h | 74 uint64_t entsize; variable 96 uint64_t entsize, uint64_t alignment, uint32_t type, in SectionBase() argument 100 entsize(entsize), type(type), link(link), info(info) {} in SectionBase() 111 uint64_t entsize, uint32_t link, uint32_t info, 275 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
|
D | InputSection.cpp | 60 uint32_t type, uint64_t entsize, in InputSectionBase() argument 64 : SectionBase(sectionKind, name, flags, entsize, alignment, type, info, in InputSectionBase() 1390 uint64_t entsize, ArrayRef<uint8_t> data, in MergeInputSection() argument 1392 : InputSectionBase(nullptr, flags, type, entsize, /*Link*/ 0, /*Info*/ 0, in MergeInputSection() 1393 /*Alignment*/ entsize, data, name, SectionBase::Merge) {} in MergeInputSection() 1405 splitStrings(data(), entsize); in splitIntoPieces() 1407 splitNonStrings(data(), entsize); in splitIntoPieces()
|
D | SyntheticSections.cpp | 96 this->entsize = sizeof(Elf_Mips_ABIFlags); in MipsAbiFlagsSection() 155 this->entsize = sizeof(Elf_Mips_Options) + sizeof(Elf_Mips_RegInfo); in MipsOptionsSection() 216 this->entsize = sizeof(Elf_Mips_RegInfo); in MipsReginfoSection() 1240 this->entsize = ELFT::Is64Bits ? 16 : 8; in DynamicSection() 1267 size_t tagOffset = entries.size() * entsize; in addInSecRelative() 1541 this->size = entries.size() * this->entsize; in finalizeContents() 1644 this->entsize = config->isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in RelocationSection() 1675 this->entsize = 1; in AndroidPackedRelocationSection() 1919 this->entsize = config->wordsize; in RelrSection() 2138 this->entsize = sizeof(Elf_Sym); in SymbolTableSection() [all …]
|
D | SyntheticSections.h | 505 size_t getSize() const override { return relocs.size() * this->entsize; } in getSize() 571 size_t getSize() const override { return relrRelocs.size() * this->entsize; } in getSize() 589 size_t getSize() const override { return getNumSymbols() * entsize; } in getSize()
|
/external/elfutils/libelf/ |
D | elf_getdata.c | 257 size_t entsize; in __libelf_set_rawdata_wrlock() local 265 entsize = 1; in __libelf_set_rawdata_wrlock() 274 entsize = SH_ENTSIZE_HASH (ehdr); in __libelf_set_rawdata_wrlock() 283 entsize = 1; in __libelf_set_rawdata_wrlock() 285 entsize = __libelf_type_sizes[elf->class - 1][t]; in __libelf_set_rawdata_wrlock() 290 if (entsize == 0) in __libelf_set_rawdata_wrlock() 291 entsize = 1; in __libelf_set_rawdata_wrlock() 293 if (unlikely (size % entsize != 0)) in __libelf_set_rawdata_wrlock()
|
/external/llvm-project/llvm/test/MC/ELF/ |
D | section-entsize-changed.s | 6 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section entsize for .foo, expected: 1 9 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section entsize for .foo, expected: 1
|
/external/elfutils/libdw/ |
D | dwarf_getpubnames.c | 49 const size_t entsize = sizeof (struct pubnames_s); in get_offsets() local 61 = (struct pubnames_s *) realloc (mem, allocated * entsize); in get_offsets() 135 dbg->pubnames_sets = (struct pubnames_s *) realloc (mem, cnt * entsize); in get_offsets()
|
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
D | macho-objc-meta-data.test | 24 OBJC2_64BIT_EXE: entsize 24 66 OBJC2_64BIT_EXE: entsize 24 88 OBJC2_64BIT_EXE: entsize 16 148 OBJC2_64BIT_OBJ: entsize 24 170 OBJC2_64BIT_OBJ: entsize 16 229 OBJC2_32BIT_EXE: entsize 12 282 OBJC2_32BIT_EXE: entsize 20 291 OBJC2_32BIT_EXE: entsize 8 351 OBJC2_32BIT_EXE: entsize 12 400 OBJC2_32BIT_EXE: entsize 20 [all …]
|
/external/llvm/test/tools/llvm-objdump/X86/ |
D | macho-objc-meta-data.test | 23 OBJC2_64BIT_EXE: entsize 24 65 OBJC2_64BIT_EXE: entsize 24 87 OBJC2_64BIT_EXE: entsize 16 147 OBJC2_64BIT_OBJ: entsize 24 169 OBJC2_64BIT_OBJ: entsize 16 228 OBJC2_32BIT_EXE: entsize 12 281 OBJC2_32BIT_EXE: entsize 20 290 OBJC2_32BIT_EXE: entsize 8 350 OBJC2_32BIT_EXE: entsize 12 399 OBJC2_32BIT_EXE: entsize 20 [all …]
|
/external/llvm-project/lld/test/ELF/ |
D | relocatable-many-sections.s | 20 ## (sizeof(.symtab) / entsize(.symtab)) * entsize(.symtab_shndx) = 0x4 * 0x180078 / 0x18 == 0x04…
|
D | merge-align2.s | 13 ## entsize, but different alignments, we combine them with the maximum input
|
/external/toybox/toys/pending/ |
D | readelf.c | 45 unsigned long long flags, addr, offset, size, addralign, entsize; member 97 s->entsize = elf_long(&shdr); in get_sh() 462 s.entsize, sh_flags, s.link, s.info, s.addralign); in scan_elf() 522 else if (!dynamic.entsize) printf("Bad dynamic entry size 0!\n"); in scan_elf() 526 dynamic.offset, dynamic.size/dynamic.entsize, in scan_elf()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf.cc | 86 uint32_t link, uint64_t entsize, uint64_t offset) { in AddSection() argument 114 .Append(endianness(), addr_size_, entsize); in AddSection()
|
D | synth_elf.h | 105 uint32_t link = 0, uint64_t entsize = 0, uint64_t offset = 0);
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCClassDescriptorV2.cpp | 244 uint32_t entsize = extractor.GetU32_unchecked(&cursor); in Read() local 245 m_is_small = (entsize & 0x80000000) != 0; in Read() 246 m_has_direct_selector = (entsize & 0x40000000) != 0; in Read() 247 m_entsize = entsize & 0xfffc; in Read()
|
/external/llvm-project/lld/ELF/Arch/ |
D | X86.cpp | 221 unsigned relOff = in.relaPlt->entsize * sym.pltIndex; in writePlt() 535 unsigned relOff = in.relaPlt->entsize * sym.pltIndex; in writePlt() 594 unsigned relOff = in.relaPlt->entsize * sym.pltIndex; in writePlt()
|
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | dyn-symbols-size-from-hash-table.test | 160 # RUN: yaml2obj --docnum=2 %s -o %t2-zero-entsize -DCHAIN="[1, 2, 3, 4]" -DENTSIZE=0 161 # RUN: llvm-readobj --dyn-symbols %t2-zero-entsize 2>&1 | \ 162 # RUN: FileCheck %s -DFILE=%t2-zero-entsize --check-prefixes=LLVM2,LLVM2-MORE,LLVM2-ALL,WARN-ENTS… 164 # RUN: llvm-readelf --dyn-symbols %t2-zero-entsize 2>&1 | \ 165 # RUN: FileCheck %s -DFILE=%t2-zero-entsize --check-prefixes=GNU2,GNU2-MORE,GNU2-ALL,WARN-ENTSIZE… 245 ## 0x18 is the standard entsize value.
|
D | dynamic-malformed.test | 47 ## Test handling of a .dynamic section with an invalid entsize (i.e. not 2 * sizeof(Elf_Dyn)). 48 # RUN: yaml2obj %s --docnum=2 -o %t.bad-entsize 49 # RUN: llvm-readobj --dynamic-table %t.bad-entsize | FileCheck %s --check-prefix BAD-ENTSIZE-LLVM 50 # RUN: llvm-readelf --dynamic-table %t.bad-entsize | FileCheck %s --check-prefix BAD-ENTSIZE-GNU
|
/external/google-breakpad/src/common/dwarf/ |
D | elf_reader.h | 130 uint64_t entsize; // Entry size if section holds a table. member
|
D | elf_reader.cc | 671 dynsym_section_info.size / dynsym_section_info.entsize; in VisitRelocationEntries() 768 info->entsize = section->header().sh_entsize; in GetSectionInfoByName()
|
/external/elfutils/libdwfl/ |
D | link_map.c | 630 const size_t entsize = gelf_fsize (mod->main.elf, in consider_executable() local 632 const size_t n = data->d_size / entsize; in consider_executable() 639 d_val_vaddr = phdr->p_vaddr + entsize * j + entsize / 2; in consider_executable()
|
/external/elfutils/src/ |
D | nm.c | 1244 size_t entsize = shdr->sh_entsize; in show_symbols() local 1247 if (entsize == 0 in show_symbols() 1248 || entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT)) in show_symbols() 1253 else if (size % entsize != 0) in show_symbols() 1260 size_t nentries = size / (entsize ?: 1); in show_symbols()
|
D | elfcmp.c | 119 static bool hash_content_equivalent (size_t entsize, Elf_Data *, Elf_Data *); 837 hash_content_equivalent (size_t entsize, Elf_Data *data1, Elf_Data *data2) in hash_content_equivalent() argument 897 switch (entsize) in hash_content_equivalent()
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | explicit-section-mergeable.ll | 52 ;; Assign a symbol with an incompatible entsize (different size) to a section with the same name. 61 ;; Assign a symbol with an incompatible entsize (string vs non-string) to a section with the same n… 69 ;; Assign a symbol with an incompatible entsize (non-mergeable) to a mergeable section created expl…
|