Home | History | Annotate | Download | only in compiler

Lines Matching refs:Elf32_Word

34 static constexpr Elf32_Word NextOffset(const Elf32_Shdr& cur, const Elf32_Shdr& prev) {
61 explicit ElfFilePiece(Elf32_Word offset) : offset_(offset) {}
66 Elf32_Word offset_;
71 ElfFileMemoryPiece(const std::string& name, Elf32_Word offset, const void* data, Elf32_Word size)
92 Elf32_Word size_;
97 ElfFileRodataPiece(Elf32_Word offset, OatWriter* oat_writer) : ElfFilePiece(offset),
121 ElfFileOatTextPiece(Elf32_Word offset, OatWriter* oat_writer) : ElfFilePiece(offset),
174 // | Elf32_Word nbucket = b |
175 // | Elf32_Word nchain = c |
176 // | Elf32_Word bucket[0] |
178 // | Elf32_Word bucket[b - 1]|
179 // | Elf32_Word chain[0] |
181 // | Elf32_Word chain[c - 1] |
270 program_headers[PH_PHDR].p_align = sizeof(Elf32_Word);
394 std::vector<Elf32_Word> hash = dynsym_builder_.GenerateHashContents();
397 LOG(INFO) << ".hash size (bytes)=" << hash.size() * sizeof(Elf32_Word)
398 << std::hex << " " << hash.size() * sizeof(Elf32_Word);
401 Elf32_Word base_offset = sizeof(Elf32_Ehdr) + sizeof(program_headers);
423 hash_builder_.section_.sh_size = hash.size() * sizeof(Elf32_Word);
513 Elf32_Word sections_offset = RoundUp(
515 sizeof(Elf32_Word));
535 Elf32_Word load_r_size = rodata_builder_.section_.sh_offset + rodata_builder_.section_.sh_size;
540 Elf32_Word load_rx_size = text_builder_.section_.sh_size;
580 hash.data(), hash.size() * sizeof(Elf32_Word)));
594 Elf32_Word cur_off = sections_offset + i * sizeof(Elf32_Shdr);
632 void ElfWriterQuick::ElfDynamicBuilder::AddDynamicTag(Elf32_Sword tag, Elf32_Word d_un) {
639 void ElfWriterQuick::ElfDynamicBuilder::AddDynamicTag(Elf32_Sword tag, Elf32_Word d_un,
647 std::vector<Elf32_Dyn> ElfWriterQuick::ElfDynamicBuilder::GetDynamics(Elf32_Word strsz,
648 Elf32_Word soname) {
729 std::vector<Elf32_Word> ElfWriterQuick::ElfSymtabBuilder::GenerateHashContents() {
763 Elf32_Word nbuckets;
764 Elf32_Word chain_size = GetSize();
775 std::vector<Elf32_Word> hash;
782 Elf32_Word* buckets = hash.data() + bucket_offset;
783 Elf32_Word* chain = hash.data() + chain_offset;
786 for (Elf32_Word i = 0; i < symbols_.size(); i++) {
789 Elf32_Word index = i + 1;
790 Elf32_Word hash_val = static_cast<Elf32_Word>(elfhash(symbols_[i].name_.c_str())) % nbuckets;
804 CHECK_EQ(chain[index], static_cast<Elf32_Word>(0));
874 bool is_relative, Elf32_Word size, uint8_t binding, uint8_t type, uint8_t other) {
891 // Add patch information to this section. Each patch is a Elf32_Word that
917 Elf32_Word oat_data_size = oat_header.GetExecutableOffset();