Home
last modified time | relevance | path

Searched refs:Elf32_Rel (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/tools/relocation_packer/src/
Drun_length_encoder.cc21 void GetDeltas(const std::vector<Elf32_Rel>& relocations, in GetDeltas()
70 std::vector<Elf32_Rel>* relocations) { in Uncondense()
72 const Elf32_Rel initial = {addr, R_ARM_RELATIVE}; in Uncondense()
85 const Elf32_Rel relocation = {addr, R_ARM_RELATIVE}; in Uncondense()
96 void RelocationRunLengthCodec::Encode(const std::vector<Elf32_Rel>& relocations, in Encode()
121 std::vector<Elf32_Rel>* relocations) { in Decode()
Dpacker_unittest.cc13 void AddRelocation(Elf32_Addr addr, std::vector<Elf32_Rel>* relocations) { in AddRelocation()
14 Elf32_Rel relocation = {addr, R_ARM_RELATIVE}; in AddRelocation()
18 bool CheckRelocation(Elf32_Addr addr, const Elf32_Rel& relocation) { in CheckRelocation()
27 std::vector<Elf32_Rel> relocations; in TEST()
72 std::vector<Elf32_Rel> relocations; in TEST()
Drun_length_encoder_unittest.cc13 void AddRelocation(Elf32_Addr addr, std::vector<Elf32_Rel>* relocations) { in AddRelocation()
14 Elf32_Rel relocation = {addr, R_ARM_RELATIVE}; in AddRelocation()
18 bool CheckRelocation(Elf32_Addr addr, const Elf32_Rel& relocation) { in CheckRelocation()
27 std::vector<Elf32_Rel> relocations; in TEST()
86 std::vector<Elf32_Rel> relocations; in TEST()
Delf_file.cc362 dynamic->d_un.d_val += hole_size / sizeof(Elf32_Rel); in AdjustDynamicSectionForHole()
369 CHECK(dynamic->d_un.d_val == sizeof(Elf32_Rel)); in AdjustDynamicSectionForHole()
420 const Elf32_Rel* relplt_base = reinterpret_cast<Elf32_Rel*>(data->d_buf); in AdjustRelPltSectionForHole()
421 std::vector<Elf32_Rel> relplts( in AdjustRelPltSectionForHole()
426 Elf32_Rel* relplt = &relplts[i]; in AdjustRelPltSectionForHole()
637 const std::vector<Elf32_Rel>& relocations) { in AdjustRelocationTargets()
656 const Elf32_Rel* relocation = &relocations[i]; in AdjustRelocationTargets()
691 std::vector<Elf32_Rel>* relocations) { in PadRelocations()
692 const Elf32_Rel r_arm_none = {R_ARM_NONE, 0}; in PadRelocations()
693 std::vector<Elf32_Rel> padding(count, r_arm_none); in PadRelocations()
[all …]
Dpacker.h39 static void PackRelativeRelocations(const std::vector<Elf32_Rel>& relocations,
46 std::vector<Elf32_Rel>* relocations);
Drun_length_encoder.h69 static void Encode(const std::vector<Elf32_Rel>& relocations,
76 std::vector<Elf32_Rel>* relocations);
Dpacker.cc22 const std::vector<Elf32_Rel>& relocations, in PackRelativeRelocations()
55 std::vector<Elf32_Rel>* relocations) { in UnpackRelativeRelocations()
/external/chromium_org/courgette/
Ddisassembler_elf_32_x86.cc25 CheckBool DisassemblerElf32X86::RelToRVA(Elf32_Rel rel, RVA* result) const { in RelToRVA()
88 Elf32_Rel *section_relocs_iter = in ParseRelocationSection()
89 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection()
111 file_offset += sizeof(Elf32_Rel) * abs32_locations_.size(); in ParseRelocationSection()
Ddisassembler_elf_32_arm.cc272 CheckBool DisassemblerElf32ARM::RelToRVA(Elf32_Rel rel, RVA* result) const { in RelToRVA()
321 Elf32_Rel *section_relocs_iter = in ParseRelocationSection()
322 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection()
337 if (!ParseSimpleRegion(file_offset, file_offset + sizeof(Elf32_Rel), in ParseRelocationSection()
341 file_offset += sizeof(Elf32_Rel); in ParseRelocationSection()
352 file_offset += sizeof(Elf32_Rel); in ParseRelocationSection()
Ddisassembler_elf_32_x86.h44 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result)
Ddisassembler_elf_32_arm.h63 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result)
Dtypes_elf.h118 struct Elf32_Rel { struct
Ddisassembler_elf_32.cc432 Elf32_Rel *relocs_table = (Elf32_Rel *)SectionBody(section_id); in ParseAbs32Relocs()
Ddisassembler_elf_32.h156 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result)
Dencoded_program.cc761 Elf32_Rel relocation_block; in GenerateElfRelocations()
768 ok = buffer->Write(&relocation_block, sizeof(Elf32_Rel)); in GenerateElfRelocations()
/external/elfutils/0.153/libelf/
Dgelf_getrel.c96 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size))
103 Elf32_Rel *src = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
Dgelf_update_rel.c89 Elf32_Rel *rel; in gelf_update_rel()
102 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size)) in gelf_update_rel()
108 rel = &((Elf32_Rel *) data_scn->d.d_buf)[ndx]; in gelf_update_rel()
/external/elfutils/0.153/src/
Di386_ld.c236 size_t size = statep->nplt * sizeof (Elf32_Rel); in elf_i386_initialize_pltrel()
505 addr->push_imm = target_bswap_32 ((pltidx - 1) * sizeof (Elf32_Rel)); in elf_i386_finalize_plt()
511 assert (pltidx * sizeof (Elf32_Rel) <= reldata->d_size); in elf_i386_finalize_plt()
569 relsize += sizeof (Elf32_Rel); in elf_i386_count_relocations()
591 relsize += sizeof (Elf32_Rel); in elf_i386_count_relocations()
608 relsize += sizeof (Elf32_Rel); in elf_i386_count_relocations()
614 relsize += sizeof (Elf32_Rel); in elf_i386_count_relocations()
Dxelf.h48 # define XElf_Rel Elf32_Rel
104 # define XElf_Rel_vardef(name) Elf32_Rel *name
106 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
108 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
150 case ELF_T_REL: fsize = sizeof (Elf32_Rel); break; \
/external/chromium_org/third_party/android_crazy_linker/src/src/
Delf_traits.h23 typedef Elf32_Rel Rel;
/external/kernel-headers/original/uapi/linux/
Delf.h163 } Elf32_Rel; typedef
/external/chromium_org/third_party/libvpx/include/
Delf.h183 } Elf32_Rel; typedef
/external/qemu/include/
Delf.h1204 } Elf32_Rel; typedef
1486 # define ELF_RELOC Elf32_Rel
/external/valgrind/main/perf/
Dtinycc.c495 } Elf32_Rel; typedef
6517 vtop->c.ul = (cur_text_section->reloc->data_offset - sizeof(Elf32_Rel)); in gen_bounded_ptr_add()
6526 Elf32_Rel *rel; in gen_bounded_ptr_deref()
6554 rel = (Elf32_Rel *)(cur_text_section->reloc->data + vtop->c.ul); in gen_bounded_ptr_deref()
18354 Elf32_Rel *rel; in put_elf_reloc()
18363 sr->sh_entsize = sizeof(Elf32_Rel); in put_elf_reloc()
18368 rel = section_ptr_add(sr, sizeof(Elf32_Rel)); in put_elf_reloc()
18429 Elf32_Rel *rel, *rel_end; in sort_syms()
18468 rel_end = (Elf32_Rel *)(sr->data + sr->data_offset); in sort_syms()
18469 for(rel = (Elf32_Rel *)sr->data; in sort_syms()
[all …]
/external/llvm/include/llvm/Support/
DELF.h1494 struct Elf32_Rel { struct

12