Home
last modified time | relevance | path

Searched refs:r_info (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.6.39/arch/powerpc/kernel/
Dmodule_32.c42 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
45 r_info = 0; in count_relocs()
49 if (ELF32_R_TYPE(rela[i].r_info) == R_PPC_REL24 && in count_relocs()
50 (r_info != ELF32_R_SYM(rela[i].r_info) || in count_relocs()
53 r_info = ELF32_R_SYM(rela[i].r_info); in count_relocs()
74 if (x->r_info < y->r_info) in relacmp()
76 else if (x->r_info > y->r_info) in relacmp()
249 + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
253 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
309 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
Dmodule_64.c79 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
83 r_info = 0; in count_relocs()
87 if (ELF64_R_TYPE(rela[i].r_info) == R_PPC_REL24 && in count_relocs()
88 (r_info != ELF64_R_SYM(rela[i].r_info) || in count_relocs()
91 r_info = ELF64_R_SYM(rela[i].r_info); in count_relocs()
109 if (x->r_info < y->r_info) in relacmp()
111 else if (x->r_info > y->r_info) in relacmp()
361 + ELF64_R_SYM(rela[i].r_info); in apply_relocate_add()
364 location, (long)ELF64_R_TYPE(rela[i].r_info), in apply_relocate_add()
371 switch (ELF64_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
[all …]
/linux-2.6.39/arch/m68k/kernel/
Dmodule_no.c57 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
59 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
70 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
97 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
99 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
110 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
Dmodule_mm.c65 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
67 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
78 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
105 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
107 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
118 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/x86/kernel/
Dmodule.c83 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
85 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
136 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
139 (int)ELF64_R_TYPE(rel[i].r_info), in apply_relocate_add()
144 switch (ELF64_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
170 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add()
178 (int)ELF64_R_TYPE(rel[i].r_info), val); in apply_relocate_add()
/linux-2.6.39/arch/mn10300/kernel/
Dmodule.c124 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
130 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
140 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
145 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
190 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
196 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/avr32/kernel/
Dmodule.c42 info = module->arch.syminfo + ELF32_R_SYM(rela->r_info); in check_rela()
43 switch (ELF32_R_TYPE(rela->r_info)) { in check_rela()
53 strings + symbols[ELF32_R_SYM(rela->r_info)].st_name, in check_rela()
62 strings + symbols[ELF32_R_SYM(rela->r_info)].st_name); in check_rela()
173 sym = (Elf32_Sym *)symsec->sh_addr + ELF32_R_SYM(rel->r_info); in apply_relocate_add()
176 info = module->arch.syminfo + ELF32_R_SYM(rel->r_info); in apply_relocate_add()
179 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add()
200 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add()
294 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate_add()
/linux-2.6.39/arch/xtensa/kernel/
Dmodule.c101 + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
104 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
193 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
213 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
219 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/h8300/kernel/
Dmodule.c66 + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
69 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
75 if (ELF32_R_SYM(rela[i].r_info)) in apply_relocate_add()
100 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/arm/kernel/
Dmodule.c85 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
104 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
126 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
158 if (ELF32_R_TYPE(rel->r_info) == R_ARM_MOVT_ABS) in apply_relocate()
202 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
238 if (ELF32_R_TYPE(rel->r_info) == R_ARM_THM_MOVT_ABS) in apply_relocate()
252 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/linux-2.6.39/arch/blackfin/kernel/
Dmodule.c192 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
199 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
205 location, value, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
207 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
225 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
230 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/cris/kernel/
Dmodule.c94 + ELF32_R_SYM (rela[i].r_info)); in apply_relocate_add()
95 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
104 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/sparc/kernel/
Dmodule.c148 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
151 switch (ELF_R_TYPE(rel[i].r_info) & 0xff) { in apply_relocate_add()
178 (ELF_R_TYPE(rel[i].r_info) >> 8)) in apply_relocate_add()
215 (int) (ELF_R_TYPE(rel[i].r_info) & 0xff)); in apply_relocate_add()
/linux-2.6.39/arch/sh/kernel/
Dmodule.c83 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
95 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
127 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/microblaze/kernel/
Dmodule.c73 ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
76 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
145 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/linux-2.6.39/arch/parisc/kernel/
Dmodule.c237 switch (ELF32_R_TYPE(rela->r_info)) { in count_stubs()
253 switch (ELF64_R_TYPE(rela->r_info)) { in count_gots()
270 switch (ELF64_R_TYPE(rela->r_info)) { in count_fdescs()
285 switch (ELF64_R_TYPE(rela->r_info)) { in count_stubs()
576 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
589 #define r(t) ELF32_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add()
606 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
676 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
712 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
726 #define r(t) ELF64_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add()
[all …]
/linux-2.6.39/arch/unicore32/kernel/
Dmodule.c68 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
90 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
125 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/linux-2.6.39/arch/score/kernel/
Dmodule.c62 r_offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
82 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
137 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/linux-2.6.39/scripts/
Drecordmcount.c233 Elf64_Xword r_info; member
245 return w(((union mips_r_info){ .r_info = rp->r_info }).r_mips.r_sym); in MIPS64_r_sym()
250 rp->r_info = ((union mips_r_info){ in MIPS64_r_info()
252 }).r_info; in MIPS64_r_info()
/linux-2.6.39/arch/alpha/kernel/
Dmodule.c58 unsigned long r_sym = ELF64_R_SYM (rela->r_info); in process_reloc_for_got()
59 unsigned long r_type = ELF64_R_TYPE (rela->r_info); in process_reloc_for_got()
86 rela->r_info |= g->got_offset << 8; in process_reloc_for_got()
189 unsigned long r_sym = ELF64_R_SYM (rela[i].r_info); in apply_relocate_add()
190 unsigned long r_type = ELF64_R_TYPE (rela[i].r_info); in apply_relocate_add()
/linux-2.6.39/scripts/mod/
Dmodpost.c1457 unsigned int r_typ = ELF_R_TYPE(r->r_info); in addend_386_rel()
1476 unsigned int r_typ = ELF_R_TYPE(r->r_info); in addend_arm_rel()
1482 (elf->symtab_start + ELF_R_SYM(r->r_info)); in addend_arm_rel()
1498 unsigned int r_typ = ELF_R_TYPE(r->r_info); in addend_mips_rel()
1542 r_sym = ELF64_MIPS_R_SYM(rela->r_info); in section_rela()
1544 r_typ = ELF64_MIPS_R_TYPE(rela->r_info); in section_rela()
1545 r.r_info = ELF64_R_INFO(r_sym, r_typ); in section_rela()
1547 r.r_info = TO_NATIVE(rela->r_info); in section_rela()
1548 r_sym = ELF_R_SYM(r.r_info); in section_rela()
1551 r.r_info = TO_NATIVE(rela->r_info); in section_rela()
[all …]
/linux-2.6.39/arch/tile/kernel/
Dmodule.c168 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
171 switch (ELF_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
240 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-2.6.39/include/linux/
Delf.h174 Elf32_Word r_info; member
179 Elf64_Xword r_info; /* index and type of relocation */ member
184 Elf32_Word r_info; member
190 Elf64_Xword r_info; /* index and type of relocation */ member
/linux-2.6.39/arch/x86/boot/compressed/
Drelocs.c391 rel->r_info = elf32_to_cpu(rel->r_info); in read_relocs()
457 sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; in print_absolute_relocs()
489 rel->r_info, in print_absolute_relocs()
490 rel_type(ELF32_R_TYPE(rel->r_info)), in print_absolute_relocs()
526 sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; in walk_relocs()
527 r_type = ELF32_R_TYPE(rel->r_info); in walk_relocs()
/linux-2.6.39/arch/m32r/kernel/
Dmodule.c124 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
128 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
225 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()

12