Home
last modified time | relevance | path

Searched refs:r_type (Results 1 – 17 of 17) sorted by relevance

/linux/arch/s390/kernel/
A Dmodule.c228 int r_type, r_sym; in apply_rela() local
240 switch (r_type) { in apply_rela()
251 if (r_type == R_390_8) in apply_rela()
270 if (r_type == R_390_PC16) in apply_rela()
306 r_type == R_390_GOTPLT16) in apply_rela()
309 r_type == R_390_GOTPLT20) in apply_rela()
312 r_type == R_390_GOTPLT32) in apply_rela()
315 r_type == R_390_GOTPLT64) in apply_rela()
378 r_type == R_390_PLTOFF32) in apply_rela()
400 if (r_type == R_390_GOTPC) in apply_rela()
[all …]
A Dmachine_kexec_reloc.c5 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()
A Dmachine_kexec_file.c317 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/
A Dmodule.c33 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/x86/tools/
A Drelocs.c844 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()
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
976 switch (r_type) { in do_reloc_real()
[all …]
/linux/arch/mips/include/asm/
A Dmodule.h25 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/
A Drelocs_64.c19 Elf64_Byte r_type; /* First relocation. */ member
26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
A Drelocs.c503 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/scripts/mod/
A Dmodpost.c1151 switch (r_type) { in addend_386_rel()
1173 switch (r_type) { in addend_arm_rel()
1257 switch (r_type) { in addend_mips_rel()
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()
1331 unsigned int r_type, r_sym; in section_rela() local
1342 r_type == R_RISCV_SUB32) in section_rela()
1346 switch (r_type) { in section_rela()
1373 unsigned int r_type, r_sym; in section_rel() local
1384 taddr = addend_386_rel(loc, r_type); in section_rel()
[all …]
/linux/arch/riscv/kernel/
A Delf_kexec.c380 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/arch/s390/include/asm/
A Dkexec.h76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
/linux/arch/s390/tools/
A Drelocs.c268 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/
A Drs6000.h233 char r_type[1]; member
/linux/include/uapi/linux/
A Dcoff.h344 char r_type[2]; /* Relocation type */ member
/linux/scripts/
A Drecordmcount.c495 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/
A Dmodule_64.c162 unsigned long r_type) in count_relocs() argument
172 if (ELF64_R_TYPE(rela[i].r_info) == r_type && in count_relocs()
/linux/net/9p/
A Dclient.c474 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()

Completed in 40 milliseconds