Home
last modified time | relevance | path

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

/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()
/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()
/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)
/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.c508 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()
/arch/x86/tools/
A Drelocs.c744 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64() local
750 switch (r_type) { in do_reloc64()
782 die("Invalid absolute %s relocation: %s\n", rel_type(r_type), symname); in do_reloc64()
801 if (r_type == R_X86_64_64) in do_reloc64()
808 die("Unsupported relocation type: %s (%d)\n", rel_type(r_type), r_type); in do_reloc64()
820 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32() local
823 switch (r_type) { in do_reloc32()
853 die("Unsupported relocation type: %s (%d)\n", rel_type(r_type), r_type); in do_reloc32()
862 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real() local
865 switch (r_type) { in do_reloc_real()
[all …]
/arch/riscv/kernel/
A Dmachine_kexec_file.c153 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()
/arch/s390/include/asm/
A Dkexec.h76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
/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()
/arch/powerpc/boot/
A Drs6000.h229 char r_type[1]; member
/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()

Completed in 22 milliseconds