/linux-6.12.1/arch/s390/kernel/ |
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 == R_390_PC16) in apply_rela() [all …]
|
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()
|
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()
|
/linux-6.12.1/arch/alpha/kernel/ |
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-6.12.1/arch/x86/tools/ |
D | relocs.c | 844 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64() local 857 switch (r_type) { in do_reloc64() 899 die("Invalid absolute %s relocation: %s\n", rel_type(r_type), symname); in do_reloc64() 912 if (r_type == R_X86_64_64) in do_reloc64() 919 die("Unsupported relocation type: %s (%d)\n", rel_type(r_type), r_type); in do_reloc64() 931 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32() local 934 switch (r_type) { in do_reloc32() 956 die("Invalid absolute %s relocation: %s\n", rel_type(r_type), symname); in do_reloc32() 964 die("Unsupported relocation type: %s (%d)\n", rel_type(r_type), r_type); in do_reloc32() 973 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real() local [all …]
|
/linux-6.12.1/arch/mips/include/asm/ |
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-6.12.1/arch/mips/boot/tools/ |
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)
|
D | relocs.c | 503 unsigned r_type = ELF_R_TYPE(rel->r_info); in do_reloc() local 514 switch (r_type) { in do_reloc() 539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc() 544 rel_type(r_type), r_type); in do_reloc()
|
/linux-6.12.1/scripts/mod/ |
D | modpost.c | 1149 static Elf_Addr addend_386_rel(uint32_t *location, unsigned int r_type) in addend_386_rel() argument 1151 switch (r_type) { in addend_386_rel() 1168 static Elf_Addr addend_arm_rel(void *loc, Elf_Sym *sym, unsigned int r_type) in addend_arm_rel() argument 1173 switch (r_type) { in addend_arm_rel() 1252 static Elf_Addr addend_mips_rel(uint32_t *location, unsigned int r_type) in addend_mips_rel() argument 1257 switch (r_type) { in addend_mips_rel() 1293 unsigned int *r_type, unsigned int *r_sym) in get_rel_type_and_sym() argument 1300 unsigned char r_type; /* 1st relocation type */ in get_rel_type_and_sym() member 1308 *r_type = mips64_r_info->r_type; in get_rel_type_and_sym() 1318 *r_type = ELF_R_TYPE(r_info); in get_rel_type_and_sym() [all …]
|
/linux-6.12.1/arch/riscv/kernel/ |
D | elf_kexec.c | 380 int i, r_type; in arch_kexec_apply_relocations_add() local 423 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add() 425 switch (r_type) { in arch_kexec_apply_relocations_add() 472 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | kexec.h | 76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
|
/linux-6.12.1/arch/s390/tools/ |
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-6.12.1/arch/powerpc/boot/ |
D | rs6000.h | 233 char r_type[1]; member
|
/linux-6.12.1/include/uapi/linux/ |
D | coff.h | 344 char r_type[2]; /* Relocation type */ member
|
/linux-6.12.1/scripts/ |
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-6.12.1/arch/powerpc/kernel/ |
D | module_64.c | 162 unsigned long r_type) in count_relocs() argument 172 if (ELF64_R_TYPE(rela[i].r_info) == r_type && in count_relocs()
|
/linux-6.12.1/net/9p/ |
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()
|