/linux/arch/s390/kernel/ |
H A D | module.c | 228 int r_type, r_sym; in apply_rela() local 236 r_type = ELF_R_TYPE(rela->r_info); in apply_rela() 240 switch (r_type) { in apply_rela() 251 if (r_type == R_390_8) in apply_rela() 253 else if (r_type == R_390_12) in apply_rela() 255 else if (r_type == R_390_16) in apply_rela() 257 else if (r_type == R_390_20) in apply_rela() 259 else if (r_type == R_390_32) in apply_rela() 261 else if (r_type == R_390_64) in apply_rela() 270 if (r_type in apply_rela() [all...] |
H A D | machine_kexec_reloc.c | 5 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, in arch_kexec_do_relocs() argument 8 switch (r_type) { in arch_kexec_do_relocs()
|
H A D | machine_kexec_file.c | 317 int i, r_type; in arch_kexec_apply_relocations_add() local 369 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add() 371 if (r_type == R_390_PLT32DBL) in arch_kexec_apply_relocations_add() 372 r_type = R_390_PC32DBL; in arch_kexec_apply_relocations_add() 374 ret = arch_kexec_do_relocs(r_type, loc, val, addr); in arch_kexec_apply_relocations_add() 376 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
|
/linux/arch/alpha/kernel/ |
H A D | module.c | 33 unsigned long r_type = ELF64_R_TYPE (rela->r_info); in process_reloc_for_got() local 37 if (r_type != R_ALPHA_LITERAL) in process_reloc_for_got() 154 unsigned long r_type = ELF64_R_TYPE (rela[i].r_info); in apply_relocate_add() local 155 unsigned long r_got_offset = r_type >> 8; in apply_relocate_add() 157 r_type &= 0xff; in apply_relocate_add() 167 switch (r_type) { in apply_relocate_add() 255 me->name, r_type); in apply_relocate_add() 261 me->name, r_type, sym->st_shndx); in apply_relocate_add() 265 me->name, r_type, strtab + sym->st_name); in apply_relocate_add()
|
/linux/arch/mips/include/asm/ |
H A D | module.h | 25 Elf64_Byte r_type; /* First relocation. */ member 34 Elf64_Byte r_type; /* First relocation. */ member 70 #define ELF_MIPS_R_TYPE(rel) ((rel).r_type)
|
/linux/arch/mips/boot/tools/ |
H A D | relocs_64.c | 19 Elf64_Byte r_type; /* First relocation. */ member 26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
|
H A D | relocs.c | 508 unsigned r_type = ELF_R_TYPE(rel->r_info); in do_reloc() local 519 switch (r_type) { in do_reloc() 544 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc() 549 rel_type(r_type), r_type); in do_reloc()
|
/linux/scripts/mod/ |
H A D | modpost.c | 1158 static Elf_Addr addend_386_rel(uint32_t *location, unsigned int r_type) in addend_386_rel() argument 1160 switch (r_type) { in addend_386_rel() 1177 static Elf_Addr addend_arm_rel(void *loc, Elf_Sym *sym, unsigned int r_type) in addend_arm_rel() argument 1182 switch (r_type) { in addend_arm_rel() 1261 static Elf_Addr addend_mips_rel(uint32_t *location, unsigned int r_type) in addend_mips_rel() argument 1266 switch (r_type) { in addend_mips_rel() 1302 unsigned int *r_type, unsigned int *r_sym) in get_rel_type_and_sym() argument 1309 unsigned char r_type; /* 1st relocation type */ in get_rel_type_and_sym() member 1317 *r_type = mips64_r_info->r_type; in get_rel_type_and_sym() 1340 unsigned int r_type, r_sym; section_rela() local 1382 unsigned int r_type, r_sym; section_rel() local [all...] |
/linux/arch/riscv/kernel/ |
H A D | machine_kexec_file.c | 153 int i, r_type; in arch_kexec_apply_relocations_add() local 196 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add() 198 switch (r_type) { in arch_kexec_apply_relocations_add() 248 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
|
/linux/arch/s390/include/asm/ |
H A D | kexec.h | 76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
|
/linux/arch/s390/tools/ |
H A D | relocs.c | 268 unsigned int r_type = ELF64_R_TYPE(rel->r_info); in do_reloc() local 271 switch (r_type) { in do_reloc() 286 die("Unsupported relocation type: %d\n", r_type); in do_reloc()
|
/linux/arch/powerpc/boot/ |
H A D | rs6000.h | 229 char r_type[1]; member
|
/linux/include/uapi/linux/ |
H A D | coff.h | 344 char r_type[2]; /* Relocation type */ member
|
/linux/scripts/ |
H A D | recordmcount.c | 495 myElf64_Byte r_type; /* First relocation. */ member 507 .r_mips = { .r_sym = w(sym), .r_type = type } in MIPS64_r_info()
|
/linux/arch/powerpc/kernel/ |
H A D | module_64.c | 158 * Count how many different r_type relocations (different symbol, 162 unsigned long r_type) in count_relocs() argument 171 /* Only count r_type relocs, others don't need stubs */ in count_relocs() 172 if (ELF64_R_TYPE(rela[i].r_info) == r_type && in count_relocs()
|
/linux/net/9p/ |
H A D | client.c | 474 s8 r_type; in p9_parse_header() local 482 err = p9pdu_readf(pdu, 0, "dbw", &r_size, &r_type, &r_tag); in p9_parse_header() 487 *type = r_type; in p9_parse_header() 498 pdu->id = r_type; in p9_parse_header()
|