Lines Matching refs:ELFRelocation

97 class ELFRelocation {  class
103 ELFRelocation(unsigned type);
105 ~ELFRelocation();
109 static unsigned RelocType32(const ELFRelocation &rel);
111 static unsigned RelocType64(const ELFRelocation &rel);
113 static unsigned RelocSymbol32(const ELFRelocation &rel);
115 static unsigned RelocSymbol64(const ELFRelocation &rel);
117 static elf_addr RelocOffset32(const ELFRelocation &rel);
119 static elf_addr RelocOffset64(const ELFRelocation &rel);
121 static elf_sxword RelocAddend32(const ELFRelocation &rel);
123 static elf_sxword RelocAddend64(const ELFRelocation &rel);
134 ELFRelocation::ELFRelocation(unsigned type) { in ELFRelocation() function in ELFRelocation
145 ELFRelocation::~ELFRelocation() { in ~ELFRelocation()
152 bool ELFRelocation::Parse(const lldb_private::DataExtractor &data, in Parse()
160 unsigned ELFRelocation::RelocType32(const ELFRelocation &rel) { in RelocType32()
167 unsigned ELFRelocation::RelocType64(const ELFRelocation &rel) { in RelocType64()
174 unsigned ELFRelocation::RelocSymbol32(const ELFRelocation &rel) { in RelocSymbol32()
181 unsigned ELFRelocation::RelocSymbol64(const ELFRelocation &rel) { in RelocSymbol64()
188 elf_addr ELFRelocation::RelocOffset32(const ELFRelocation &rel) { in RelocOffset32()
195 elf_addr ELFRelocation::RelocOffset64(const ELFRelocation &rel) { in RelocOffset64()
202 elf_sxword ELFRelocation::RelocAddend32(const ELFRelocation &rel) { in RelocAddend32()
209 elf_sxword ELFRelocation::RelocAddend64(const ELFRelocation &rel) { in RelocAddend64()
2496 ELFRelocation rel(rel_type); in ParsePLTRelocations()
2505 typedef unsigned (*reloc_info_fn)(const ELFRelocation &rel); in ParsePLTRelocations()
2510 reloc_type = ELFRelocation::RelocType32; in ParsePLTRelocations()
2511 reloc_symbol = ELFRelocation::RelocSymbol32; in ParsePLTRelocations()
2513 reloc_type = ELFRelocation::RelocType64; in ParsePLTRelocations()
2514 reloc_symbol = ELFRelocation::RelocSymbol64; in ParsePLTRelocations()
2625 static void ApplyELF64ABS64Relocation(Symtab *symtab, ELFRelocation &rel, in ApplyELF64ABS64Relocation()
2628 Symbol *symbol = symtab->FindSymbolByID(ELFRelocation::RelocSymbol64(rel)); in ApplyELF64ABS64Relocation()
2637 ELFRelocation::RelocOffset64(rel)); in ApplyELF64ABS64Relocation()
2638 uint64_t val_offset = value + ELFRelocation::RelocAddend64(rel); in ApplyELF64ABS64Relocation()
2643 static void ApplyELF64ABS32Relocation(Symtab *symtab, ELFRelocation &rel, in ApplyELF64ABS32Relocation()
2646 Symbol *symbol = symtab->FindSymbolByID(ELFRelocation::RelocSymbol64(rel)); in ApplyELF64ABS32Relocation()
2649 value += ELFRelocation::RelocAddend32(rel); in ApplyELF64ABS32Relocation()
2664 ELFRelocation::RelocOffset32(rel)); in ApplyELF64ABS32Relocation()
2669 static void ApplyELF32ABS32RelRelocation(Symtab *symtab, ELFRelocation &rel, in ApplyELF32ABS32RelRelocation()
2673 Symbol *symbol = symtab->FindSymbolByID(ELFRelocation::RelocSymbol32(rel)); in ApplyELF32ABS32RelRelocation()
2687 ELFRelocation::RelocOffset32(rel); in ApplyELF32ABS32RelRelocation()
2712 ELFRelocation rel(rel_hdr->sh_type); in ApplyRelocations()
2715 typedef unsigned (*reloc_info_fn)(const ELFRelocation &rel); in ApplyRelocations()
2720 reloc_type = ELFRelocation::RelocType32; in ApplyRelocations()
2721 reloc_symbol = ELFRelocation::RelocSymbol32; in ApplyRelocations()
2723 reloc_type = ELFRelocation::RelocType64; in ApplyRelocations()
2724 reloc_symbol = ELFRelocation::RelocSymbol64; in ApplyRelocations()
2758 rel_section->GetFileOffset() + ELFRelocation::RelocOffset32(rel); in ApplyRelocations()
2768 value += ELFRelocation::RelocAddend32(rel); in ApplyRelocations()