Home
last modified time | relevance | path

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

12

/arch/metag/kernel/
Dmodule.c27 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
30 r_info = 0; in count_relocs()
34 if (ELF32_R_TYPE(rela[i].r_info) == R_METAG_RELBRANCH && in count_relocs()
35 (r_info != ELF32_R_SYM(rela[i].r_info) || in count_relocs()
38 r_info = ELF32_R_SYM(rela[i].r_info); in count_relocs()
56 if (x->r_info < y->r_info) in relacmp()
58 else if (x->r_info > y->r_info) in relacmp()
220 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
223 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
279 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/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()
237 + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
241 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
297 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()
351 + ELF64_R_SYM(rela[i].r_info); in apply_relocate_add()
354 location, (long)ELF64_R_TYPE(rela[i].r_info), in apply_relocate_add()
361 switch (ELF64_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
[all …]
/arch/mn10300/kernel/
Dmodule.c80 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
86 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
101 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
146 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
152 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/m68k/kernel/
Dmodule.c42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
44 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
55 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
82 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
84 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
95 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/x86/kernel/
Dmodule.c76 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
78 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
89 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
118 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
121 (int)ELF64_R_TYPE(rel[i].r_info), in apply_relocate_add()
126 switch (ELF64_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
152 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add()
160 (int)ELF64_R_TYPE(rel[i].r_info), val); in apply_relocate_add()
/arch/h8300/kernel/
Dmodule.c32 + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
35 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
41 if (ELF32_R_SYM(rela[i].r_info)) in apply_relocate_add()
66 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/arch/xtensa/kernel/
Dmodule.c69 + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
72 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
161 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
181 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
187 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/arch/cris/kernel/
Dmodule.c66 + ELF32_R_SYM (rela[i].r_info)); in apply_relocate_add()
67 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
76 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/arch/avr32/kernel/
Dmodule.c35 info = module->arch.syminfo + ELF32_R_SYM(rela->r_info); in check_rela()
36 switch (ELF32_R_TYPE(rela->r_info)) { in check_rela()
46 strings + symbols[ELF32_R_SYM(rela->r_info)].st_name, in check_rela()
55 strings + symbols[ELF32_R_SYM(rela->r_info)].st_name); in check_rela()
166 sym = (Elf32_Sym *)symsec->sh_addr + ELF32_R_SYM(rel->r_info); in apply_relocate_add()
169 info = module->arch.syminfo + ELF32_R_SYM(rel->r_info); in apply_relocate_add()
172 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add()
193 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add()
287 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate_add()
/arch/openrisc/kernel/
Dmodule.c42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
45 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
66 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/hexagon/kernel/
Dmodule.c100 sym = sym_base + ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
109 i, value, location, ELF32_R_TYPE(rela[i].r_info), in apply_relocate_add()
113 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
157 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/arch/microblaze/kernel/
Dmodule.c42 ELF32_R_SYM(rela[i].r_info); in apply_relocate_add()
45 switch (ELF32_R_TYPE(rela[i].r_info)) { in apply_relocate_add()
113 ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/arch/sh/kernel/
Dmodule.c59 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
71 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
105 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/unicore32/kernel/
Dmodule.c52 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
74 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
109 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/arch/arm/kernel/
Dmodule.c67 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
86 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
108 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
140 if (ELF32_R_TYPE(rel->r_info) == R_ARM_MOVT_ABS) in apply_relocate()
193 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
229 if (ELF32_R_TYPE(rel->r_info) == R_ARM_THM_MOVT_ABS) in apply_relocate()
243 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/arch/score/kernel/
Dmodule.c45 r_offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
65 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
120 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/arch/c6x/kernel/
Dmodule.c69 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
74 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
117 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/blackfin/kernel/
Dmodule.c171 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
178 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
184 location, value, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
186 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
204 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
209 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/arc/kernel/
Dmodule.c93 sym_entry = sym_sec + ELF32_R_SYM(rel_entry[i].r_info); in apply_relocate_add()
107 relo_type = ELF32_R_TYPE(rel_entry[i].r_info); in apply_relocate_add()
121 module->name, ELF32_R_TYPE(rel_entry[i].r_info)); in apply_relocate_add()
/arch/sparc/kernel/
Dmodule.c109 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
112 switch (ELF_R_TYPE(rel[i].r_info) & 0xff) { in apply_relocate_add()
138 (ELF_R_TYPE(rel[i].r_info) >> 8)) in apply_relocate_add()
175 (int) (ELF_R_TYPE(rel[i].r_info) & 0xff)); in apply_relocate_add()
/arch/alpha/kernel/
Dmodule.c44 unsigned long r_sym = ELF64_R_SYM (rela->r_info); in process_reloc_for_got()
45 unsigned long r_type = ELF64_R_TYPE (rela->r_info); in process_reloc_for_got()
72 rela->r_info |= g->got_offset << 8; in process_reloc_for_got()
167 unsigned long r_sym = ELF64_R_SYM (rela[i].r_info); in apply_relocate_add()
168 unsigned long r_type = ELF64_R_TYPE (rela[i].r_info); in apply_relocate_add()
/arch/parisc/kernel/
Dmodule.c243 switch (ELF32_R_TYPE(rela->r_info)) { in count_stubs()
259 switch (ELF64_R_TYPE(rela->r_info)) { in count_gots()
276 switch (ELF64_R_TYPE(rela->r_info)) { in count_fdescs()
291 switch (ELF64_R_TYPE(rela->r_info)) { in count_stubs()
570 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
583 #define r(t) ELF32_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add()
600 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
670 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
706 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
720 #define r(t) ELF64_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add()
[all …]
/arch/tile/kernel/
Dmodule.c145 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
148 switch (ELF_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
227 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/m32r/kernel/
Dmodule.c97 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
101 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
198 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()

12