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()
2578 ELFRelocation rel(rel_type); in ParsePLTRelocations()
2587 typedef unsigned (*reloc_info_fn)(const ELFRelocation &rel); in ParsePLTRelocations()
2592 reloc_type = ELFRelocation::RelocType32; in ParsePLTRelocations()
2593 reloc_symbol = ELFRelocation::RelocSymbol32; in ParsePLTRelocations()
2595 reloc_type = ELFRelocation::RelocType64; in ParsePLTRelocations()
2596 reloc_symbol = ELFRelocation::RelocSymbol64; in ParsePLTRelocations()
2707 static void ApplyELF64ABS64Relocation(Symtab *symtab, ELFRelocation &rel, in ApplyELF64ABS64Relocation()
2710 Symbol *symbol = symtab->FindSymbolByID(ELFRelocation::RelocSymbol64(rel)); in ApplyELF64ABS64Relocation()
2719 ELFRelocation::RelocOffset64(rel)); in ApplyELF64ABS64Relocation()
2720 uint64_t val_offset = value + ELFRelocation::RelocAddend64(rel); in ApplyELF64ABS64Relocation()
2725 static void ApplyELF64ABS32Relocation(Symtab *symtab, ELFRelocation &rel, in ApplyELF64ABS32Relocation()
2728 Symbol *symbol = symtab->FindSymbolByID(ELFRelocation::RelocSymbol64(rel)); in ApplyELF64ABS32Relocation()
2731 value += ELFRelocation::RelocAddend32(rel); in ApplyELF64ABS32Relocation()
2746 ELFRelocation::RelocOffset32(rel)); in ApplyELF64ABS32Relocation()
2751 static void ApplyELF32ABS32RelRelocation(Symtab *symtab, ELFRelocation &rel, in ApplyELF32ABS32RelRelocation()
2755 Symbol *symbol = symtab->FindSymbolByID(ELFRelocation::RelocSymbol32(rel)); in ApplyELF32ABS32RelRelocation()
2769 ELFRelocation::RelocOffset32(rel); in ApplyELF32ABS32RelRelocation()
2794 ELFRelocation rel(rel_hdr->sh_type); in ApplyRelocations()
2797 typedef unsigned (*reloc_info_fn)(const ELFRelocation &rel); in ApplyRelocations()
2802 reloc_type = ELFRelocation::RelocType32; in ApplyRelocations()
2803 reloc_symbol = ELFRelocation::RelocSymbol32; in ApplyRelocations()
2805 reloc_type = ELFRelocation::RelocType64; in ApplyRelocations()
2806 reloc_symbol = ELFRelocation::RelocSymbol64; in ApplyRelocations()
2840 rel_section->GetFileOffset() + ELFRelocation::RelocOffset32(rel); in ApplyRelocations()
2850 value += ELFRelocation::RelocAddend32(rel); in ApplyRelocations()