Lines Matching refs:Elf_Word

79   using Elf_Word = typename ElfTypes::Word;  variable
92 Elf_Word type, in Section()
93 Elf_Word flags, in Section()
95 Elf_Word info, in Section()
96 Elf_Word align, in Section()
97 Elf_Word entsize) in Section()
117 void AllocateVirtualMemory(Elf_Word size) { in AllocateVirtualMemory()
121 void AllocateVirtualMemory(Elf_Addr addr, Elf_Word size) { in AllocateVirtualMemory()
123 Elf_Word align = AddSection(); in AllocateVirtualMemory()
135 Elf_Word align = AddSection(); in Start()
144 Elf_Word position = GetPosition(); in End()
152 Elf_Word GetPosition() const { in GetPosition()
186 Elf_Word GetSectionIndex() const { in GetSectionIndex()
200 Elf_Word AddSection() { in AddSection()
203 Elf_Word last = sections.empty() ? PF_R : sections.back()->phdr_flags_; in AddSection()
215 Elf_Word section_index_;
218 Elf_Word phdr_flags_;
219 Elf_Word phdr_type_;
230 Elf_Word type, in CachedSection()
231 Elf_Word flags, in CachedSection()
233 Elf_Word info, in CachedSection()
234 Elf_Word align, in CachedSection()
235 Elf_Word entsize) in CachedSection()
238 Elf_Word Add(const void* data, size_t length) { in Add()
239 Elf_Word offset = cache_.size(); in Add()
245 Elf_Word GetCacheSize() { in GetCacheSize()
270 Elf_Word flags, in CachedStringSection()
271 Elf_Word align) in CachedStringSection()
281 Elf_Word Add(const std::string& name) { in Add()
294 Elf_Word flags, in StringSection()
295 Elf_Word align) in StringSection()
313 Elf_Word Write(const std::string& name) { in Write()
327 Elf_Word current_offset_;
329 Elf_Word last_offset_;
337 Elf_Word type, in SymbolSection()
338 Elf_Word flags, in SymbolSection()
352 void Add(Elf_Word name, in Add()
355 Elf_Word size, in Add()
376 Elf_Word GetCacheSize() { return syms_.size() * sizeof(Elf_Sym); } in GetCacheSize()
406 Elf_Word type, in BuildIdSection()
407 Elf_Word flags, in BuildIdSection()
409 Elf_Word info, in BuildIdSection()
410 Elf_Word align, in BuildIdSection()
411 Elf_Word entsize) in BuildIdSection()
416 Elf_Word GetSize() { in GetSize()
461 hash_(this, ".hash", SHT_HASH, SHF_ALLOC, &dynsym_, 0, sizeof(Elf_Word), sizeof(Elf_Word)), in ElfBuilder()
628 Elf_Word rodata_size, in PrepareDynamicSection()
629 Elf_Word text_size, in PrepareDynamicSection()
630 Elf_Word data_bimg_rel_ro_size, in PrepareDynamicSection()
631 Elf_Word bss_size, in PrepareDynamicSection()
632 Elf_Word bss_methods_offset, in PrepareDynamicSection()
633 Elf_Word bss_roots_offset, in PrepareDynamicSection()
634 Elf_Word dex_size) { in PrepareDynamicSection()
656 Elf_Word oatdata = dynstr_.Add("oatdata"); in PrepareDynamicSection()
661 Elf_Word oatexec = dynstr_.Add("oatexec"); in PrepareDynamicSection()
663 Elf_Word oatlastword = dynstr_.Add("oatlastword"); in PrepareDynamicSection()
664 Elf_Word oatlastword_address = text_.GetAddress() + text_size - 4; in PrepareDynamicSection()
668 Elf_Word oatlastword = dynstr_.Add("oatlastword"); in PrepareDynamicSection()
669 Elf_Word oatlastword_address = rodata_.GetAddress() + rodata_size - 4; in PrepareDynamicSection()
673 Elf_Word oatdatabimgrelro = dynstr_.Add("oatdatabimgrelro"); in PrepareDynamicSection()
680 Elf_Word oatdatabimgrelrolastword = dynstr_.Add("oatdatabimgrelrolastword"); in PrepareDynamicSection()
681 Elf_Word oatdatabimgrelrolastword_address = in PrepareDynamicSection()
692 Elf_Word oatbss = dynstr_.Add("oatbss"); in PrepareDynamicSection()
698 Elf_Word bss_methods_address = bss_.GetAddress() + bss_methods_offset; in PrepareDynamicSection()
699 Elf_Word bss_methods_size = bss_roots_offset - bss_methods_offset; in PrepareDynamicSection()
700 Elf_Word oatbssroots = dynstr_.Add("oatbssmethods"); in PrepareDynamicSection()
706 Elf_Word bss_roots_address = bss_.GetAddress() + bss_roots_offset; in PrepareDynamicSection()
707 Elf_Word bss_roots_size = bss_size - bss_roots_offset; in PrepareDynamicSection()
708 Elf_Word oatbssroots = dynstr_.Add("oatbssroots"); in PrepareDynamicSection()
712 Elf_Word oatbsslastword = dynstr_.Add("oatbsslastword"); in PrepareDynamicSection()
713 Elf_Word bsslastword_address = bss_.GetAddress() + bss_size - 4; in PrepareDynamicSection()
717 Elf_Word oatdex = dynstr_.Add("oatdex"); in PrepareDynamicSection()
719 Elf_Word oatdexlastword = dynstr_.Add("oatdexlastword"); in PrepareDynamicSection()
720 Elf_Word oatdexlastword_address = dex_.GetAddress() + dex_size - 4; in PrepareDynamicSection()
724 Elf_Word soname_offset = dynstr_.Add(soname); in PrepareDynamicSection()
730 std::vector<Elf_Word> hash; in PrepareDynamicSection()
770 Elf_Word GetLoadedSize() { in GetLoadedSize()
900 Elf_Word size = shdr.sh_offset + shdr.sh_size - prev.p_offset; in MakeProgramHeaders()
905 CHECK_EQ(shdr.sh_addralign, (Elf_Word)kPageSize); in MakeProgramHeaders()
928 CHECK_EQ(phdrs[0].p_type, (Elf_Word)PT_PHDR); in MakeProgramHeaders()