/arch/metag/kernel/ |
D | module.c | 27 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/ |
D | module_32.c | 42 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()
|
D | module_64.c | 79 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/ |
D | module.c | 80 + 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/ |
D | module.c | 42 + 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/ |
D | module.c | 76 + 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/ |
D | module.c | 32 + 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/ |
D | module.c | 69 + 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/ |
D | module.c | 66 + 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/ |
D | module.c | 35 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/ |
D | module.c | 42 + 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/ |
D | module.c | 100 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/ |
D | module.c | 42 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/ |
D | module.c | 59 + 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/ |
D | module.c | 52 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/ |
D | module.c | 67 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/ |
D | module.c | 45 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/ |
D | module.c | 69 + 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/ |
D | module.c | 171 + 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/ |
D | module.c | 93 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/ |
D | module.c | 109 + 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/ |
D | module.c | 44 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/ |
D | module.c | 243 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/ |
D | module.c | 145 + 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/ |
D | module.c | 97 + 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()
|