Home
last modified time | relevance | path

Searched refs:entsize (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/lld/ELF/
DOutputSections.cpp59 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()
DInputSection.h74 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,
DInputSection.cpp60 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()
DSyntheticSections.cpp96 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 …]
DSyntheticSections.h505 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/
Delf_getdata.c257 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/
Dsection-entsize-changed.s6 # 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/
Ddwarf_getpubnames.c49 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/
Dmacho-objc-meta-data.test24 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/
Dmacho-objc-meta-data.test23 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/
Drelocatable-many-sections.s20 ## (sizeof(.symtab) / entsize(.symtab)) * entsize(.symtab_shndx) = 0x4 * 0x180078 / 0x18 == 0x04…
Dmerge-align2.s13 ## entsize, but different alignments, we combine them with the maximum input
/external/toybox/toys/pending/
Dreadelf.c45 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/
Dsynth_elf.cc86 uint32_t link, uint64_t entsize, uint64_t offset) { in AddSection() argument
114 .Append(endianness(), addr_size_, entsize); in AddSection()
Dsynth_elf.h105 uint32_t link = 0, uint64_t entsize = 0, uint64_t offset = 0);
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCClassDescriptorV2.cpp244 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/
DX86.cpp221 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/
Ddyn-symbols-size-from-hash-table.test160 # 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.
Ddynamic-malformed.test47 ## 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/
Delf_reader.h130 uint64_t entsize; // Entry size if section holds a table. member
Delf_reader.cc671 dynsym_section_info.size / dynsym_section_info.entsize; in VisitRelocationEntries()
768 info->entsize = section->header().sh_entsize; in GetSectionInfoByName()
/external/elfutils/libdwfl/
Dlink_map.c630 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/
Dnm.c1244 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()
Delfcmp.c119 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/
Dexplicit-section-mergeable.ll52 ;; 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…

12